Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeConfig ¶
type CodeConfig struct { TTL time.Duration `mapstructure:"ttl"` MaxLength int64 `mapstructure:"max-length"` MinLength int64 `mapstructure:"min-length"` }
Code config variables.
type Config ¶
type Config struct { GRPC GRPCConfig `mapstructure:"grpc"` Database DatabaseConfig `mapstructure:"database"` Code CodeConfig `mapstructure:"code"` Service ServiceConfig `mapstructure:"service"` }
Config variables.
type GRPCConfig ¶
type GRPCConfig struct { Host string `mapstructure:"host"` Port string `mapstructure:"port"` TLS TLSConfig `mapstructure:"tls"` }
gRPC server config variables.
type ServiceConfig ¶
type ServiceConfig struct {
Email Service `mapstructure:"email"`
}
Services config variables.
Click to show internal directories.
Click to hide internal directories.