Documentation ¶
Index ¶
- Variables
- func Context(ctx context.Context, conf ini.File, service string) context.Context
- func ForContext(ctx context.Context) ini.File
- func GetOrigin(conf ini.File, svc string, external bool) string
- func LoadConfig(defaultAddr string) ini.File
- func Middleware(conf ini.File, service string) func(next http.Handler) http.Handler
- func ServiceName(ctx context.Context) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Debug bool Addr string )
Functions ¶
func ForContext ¶
func LoadConfig ¶
func LoadConfig(defaultAddr string) ini.File
Loads the application configuration, reads options from the command line, and initializes some internals based on these results.
func Middleware ¶
func ServiceName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.