class

Memo::App

Inherits Reference < Object

Constants

SERVER_DEBUG_ENV = "MEMO_SERVER_DEBUG"
SERVER_PORT_ENV = "MEMO_SERVER_PORT"
SERVER_SHUTDOWN_TIMEOUT = 2.seconds
SERVER_START_ATTEMPTS = 4
SERVER_START_CHECKS = 20
SERVER_START_INTERVAL = 50.milliseconds
SERVER_TOKEN_ENV = "MEMO_SERVER_TOKEN"

Constructors

new(debug : Bool = false)
Source

Class methods

run_server(port : Int32, token : String, debug = false) : Nil
Source
run_server_from_env(debug = false) : Nil
Source

Instance methods