package
Version:
v0.0.0-...-378a548
Opens a new window with list of versions in this module.
Published: Apr 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Etcd struct {
Endpoints []string `json:"endpoints" toml:"endpoints"`
}
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"`
MaxDays int `toml:"max-days" json:"max-days"`
MaxBackups int `toml:"max-backups" json:"max-backups"`
Compress bool `toml:"compress" json:"compress"`
}
type MySQL struct {
DSN string `json:"dsn" toml:"dsn"`
MinOpen int `json:"min-open" toml:"min-open"`
MaxOpen int `json:"max-open" toml:"max-open"`
}
type Opentrace struct {
Enable bool `json:"enable" toml:"enable"`
DSN string `json:"dsn" toml:"dsn"`
}
type Server struct {
Host string `json:"host" toml:"host"`
Port int `json:"port" toml:"port"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.