Documentation
¶
Overview ¶
Package configs contains configuration structs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPC ¶
type GRPC struct { IP string `toml:"tcp_ip"` Port string `toml:"tcp_port"` MaxClients int `toml:"max_clients"` NumPoolWorkers uint32 `toml:"num_pool_workers"` }
GRPC contains info for gRPC server configuration.
type Logger ¶
type Logger struct { Format string `toml:"log_format"` Level string `toml:"log_level"` EncoderType string `toml:"encoder_type"` OutputPath []string `toml:"output_path"` ErrorOutputPath []string `toml:"error_output_path"` }
Logger contains info for logger configuration.
type WebAPI ¶
type WebAPI struct { IP string `toml:"web_api_ip"` Port string `toml:"web_api_port"` Login string `toml:"login"` Password string `toml:"password"` ProtocolType string `toml:"protocol_type"` EmployeePath string `toml:"employee_path"` AbsencePath string `toml:"absence_path"` }
WebAPI contains info for WebAPI configuration.
Click to show internal directories.
Click to hide internal directories.