config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DaemonZ bool
View Source
var DisableHotReload bool
View Source
var IncludeSelf bool
View Source
var LogFile string
View Source
var Path string
View Source
var PidPath string

Functions

func Inject

func Inject(c *gin.Context)

Inject injects config into gin's context.

func Parse

func Parse(init bool)

func Watch

func Watch()

Watch watches config file, configs will be reloaded when config file is changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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