Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Features ¶
type Features struct {
Metrics *Features_Metrics `yaml:"metrics,omitempty"`
Tracing *Features_Tracing `yaml:"tracing,omitempty"`
TLS *Features_TLS `yaml:"tls,omitempty"`
Validator *Features_Validator `yaml:"validator,omitempty"`
Rpclog *Features_Rpclog `yaml:"rpclog,omitempty"`
Translog *Features_Translog `yaml:"translog,omitempty"`
}
type Features_Metrics ¶
type Features_Rpclog ¶
type Features_Rpclog struct {
Enabled bool `yaml:",omitempty" default:"false"`
}
type Features_TLS ¶
type Features_TLS struct {
Enabled bool `yaml:",omitempty" default:"false"`
CertFile string `yaml:"cert_file" valid:"type(string),required"`
KeyFile string `yaml:"key_file" valid:"type(string),required"`
CaFile string `yaml:"ca_file" valid:"type(string),required"`
Password string `yaml:"password,omitempty"`
ServerName string `yaml:"server_name,omitempty" default:"'*'"`
}
type Features_Tracing ¶
type Features_Translog ¶
type Features_Validator ¶
type Features_Validator struct {
Enabled bool `yaml:",omitempty" default:"false"`
}
type PublishSettings ¶
type PublishSettings struct {
DelayThreshold time.Duration `yaml:"delay_threshold,omitempty"`
CountThreshold int `yaml:"count_threshold,omitempty"`
ByteThreshold int `yaml:"byte_threshold,omitempty"`
NumGoroutines int `yaml:"num_goroutines,omitempty"`
Timeout time.Duration `yaml:",omitempty"`
BufferedByteLimit int `yaml:"buffered_byte_limit,omitempty"`
}
type ReceiveSettings ¶
type ReceiveSettings struct {
MaxExtension time.Duration `yaml:"max_extension,omitempty"`
MaxExtensionPeriod time.Duration `yaml:"max_extension_period,omitempty"`
MaxOutstandingMessages int `yaml:"max_outstanding_messages,omitempty"`
MaxOutstandingBytes int `yaml:"max_outstanding_bytes,omitempty"`
NumGoroutines int `yaml:"num_goroutines,omitempty"`
Synchronous bool `yaml:",omitempty" default:"false"`
}
Click to show internal directories.
Click to hide internal directories.