Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConfig ¶
type Config ¶
type Config struct {
GRPCServer *GRPCServer `yaml:"grpc-server,omitempty" json:"grpc-server,omitempty"`
Cache *CacheConfig `yaml:"cache,omitempty" json:"cache,omitempty"`
Prometheus *PromConfig `yaml:"prometheus,omitempty" json:"prometheus,omitempty"`
}
type GRPCServer ¶
type GRPCServer struct {
Address string `yaml:"address,omitempty" json:"address,omitempty"`
TLS *TLS `yaml:"tls,omitempty" json:"tls,omitempty"`
MaxRecvMsgSize int `yaml:"max-recv-msg-size,omitempty" json:"max-recv-msg-size,omitempty"`
RPCTimeout time.Duration `yaml:"rpc-timeout,omitempty" json:"rpc-timeout,omitempty"`
BufferSize int `yaml:"buffer-size,omitempty" json:"buffer-size,omitempty"`
WriteWorkers int `yaml:"write-workers,omitempty" json:"write-workers,omitempty"`
}
type PromConfig ¶
type PromConfig struct {
Address string `yaml:"address,omitempty" json:"address,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.