Documentation
¶
Overview ¶
Package config defines the necessary types to configure the application. An example config file config.yaml is provided in the repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeConnStr ¶
Types ¶
type Config ¶
type Config struct {
commoncfg.BaseConfig `mapstructure:",squash" yaml:",inline"`
HTTP HTTPServer `yaml:"http"`
GRPC GRPCServer `yaml:"grpc"`
Database Database `yaml:"database"`
ValKey ValKey `yaml:"valkey"`
Migrate Migrate `yaml:"migrate"`
SessionManager SessionManager `yaml:"sessionManager"`
}
type GRPCServer ¶
type GRPCServer struct {
commoncfg.GRPCServer `mapstructure:",squash" yaml:",inline"`
ShutdownTimeout time.Duration `yaml:"shutdownTimeout" default:"5s"`
}
type HTTPServer ¶
type SessionManager ¶
Click to show internal directories.
Click to hide internal directories.