package
Version:
v0.0.0-...-044e33f
Opens a new window with list of versions in this module.
Published: Jul 14, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoggerInit(e *echo.Echo, conf Conf)
func RendererInit(e *echo.Echo)
type Conf struct {
Agent struct {
Token string
Name string
}
Server struct {
Port int
LogLevel string `yaml:"logLevel"`
}
}
Go struct representing the config.yaml
Read the config.yaml into a go object
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.