package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Dec 17, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package config is used to read and store client configuration saved in .hcl format.
type Config struct {
Server *Server `hcl:"api-server,block"`
APIKey string `hcl:"api-key"`
Email string `hcl:"email"`
Logger *logger.Options `hcl:"log-config,block"`
}
type Server struct {
Address string `hcl:"address"`
Port int `hcl:"port"`
Insecure bool `hcl:"insecure"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.