Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_HTTPS_PORT = 7076
DEFAULT_HTTPS_PORT From Unassigned https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=104
View Source
const DEFAULT_PORT = 7075
DEFAULT_PORT From Unassigned https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=104
Variables ¶
View Source
var DefaultConfig = Config{ BoltRouter: boltrouter.DefaultConfig, }
View Source
var Terminating = &atomic.Bool{}
Functions ¶
func OnShutdown ¶
func OnShutdown(f func())
func WithPreShutdown ¶
func WithPreShutdown(f func())
Types ¶
type Config ¶ added in v0.1.16
type Config struct {
BoltRouter boltrouter.Config `yaml:"BoltRouter"`
}
Config file layout (yaml)
Click to show internal directories.
Click to hide internal directories.