package
Version:
v0.0.0-...-fa3ab40
Opens a new window with list of versions in this module.
Published: Feb 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
System System `json:"system" toml:"system"`
Log Log `json:"log" toml:"log"`
Server Server `json:"server" toml:"server"`
}
type Log struct {
DisableTimestamp bool `json:"disable-timestamp" toml:"disable-timestamp"`
Level string `json:"level" toml:"level"`
Format string `json:"format" toml:"format"`
MaxSize int `json:"maxsize" toml:"maxsize"`
}
type Server struct {
Host string `json:"host" toml:"host"`
Port int `json:"port" toml:"port"`
}
type System struct {
FileDir string `json:"file-dir" toml:"file-dir"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.