Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.1.8
type Config struct { Tls TLS `json:"tls" bson:"tls" yaml:"tls" mapstructure:"tls"` Account string `json:"account" bson:"account" yaml:"account" mapstructure:"account"` Password string `json:"password" bson:"password" yaml:"password" mapstructure:"password"` Address string `json:"address" yaml:"address" mapstructure:"address"` Mode bool `json:"mode" yaml:"mode" mapstructure:"mode"` // Mode is true cluster }
type TLS ¶ added in v0.1.8
type TLS struct { CaCert string `json:"ca_cert" bson:"ca_cert" yaml:"ca_cert" mapstructure:"ca_cert"` ClientCert string `json:"client_cert" bson:"client_cert" yaml:"client_cert" mapstructure:"client_cert"` ClientCertKey string `json:"client_cert_key" bson:"client_cert_key" yaml:"client_cert_key" mapstructure:"client_cert_key"` }
Click to show internal directories.
Click to hide internal directories.