Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthnConfig ¶
type AuthnConfig struct {
Method string `yaml:"method"`
}
type Config ¶
type Config struct {
Mode string `yaml:"mode"`
Slave SlaveConfig `yaml:"slave"`
Http HttpConfig `yaml:"http"`
GRPC GRPCConfig `yaml:"grpc"`
Store StoreConfig `yaml:"store"`
Log LogConfig `yaml:"log"`
Authn AuthnConfig `yaml:"authn"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
type GRPCConfig ¶
type HttpConfig ¶
type PresharedConfig ¶
type PresharedConfig struct {
}
type RedisConfig ¶
type SlaveConfig ¶
type SlaveConfig struct {
Id string `yaml:"id"`
SlaveHTTPAddr string `yaml:"slaveHTTPAddr"`
MasterHTTPAddr string `yaml:"masterHTTPAddr"`
MasterAuthn AuthnConfig `yaml:"masterAuthn"`
}
type StoreConfig ¶
type StoreConfig struct {
Engine string `yaml:"engine"`
Redis RedisConfig `yaml:"redis"`
}
Click to show internal directories.
Click to hide internal directories.