cmd

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

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 Execute

func Execute()

func NewLogger

func NewLogger(logLevel zapcore.Level) *zap.Logger

func OnShutdown

func OnShutdown(f func())

func Shutdown

func Shutdown()

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL