Documentation ¶
Index ¶
- type BrokerConfig
- func (b BrokerConfig) BindAddress() string
- func (b BrokerConfig) Host() string
- func (b BrokerConfig) Load(configPath string) BrokerConfig
- func (b BrokerConfig) LogLevel() zapcore.Level
- func (b BrokerConfig) Port() uint
- func (b BrokerConfig) SetBindAddress(name string)
- func (b BrokerConfig) SetHost(name string)
- func (b BrokerConfig) SetLogLevel(logLevel zapcore.Level)
- func (b BrokerConfig) SetPort(port uint)
- func (b BrokerConfig) SetTimeout(timeout int)
- func (b BrokerConfig) SetZKQuorum(quorum []string)
- func (b BrokerConfig) SetZKTimeout(timeout uint)
- func (b BrokerConfig) Timeout() int
- func (b BrokerConfig) ZKQuorum() []string
- func (b BrokerConfig) ZKTimeout() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerConfig ¶
func NewBrokerConfig ¶
func NewBrokerConfig() BrokerConfig
func (BrokerConfig) BindAddress ¶ added in v1.0.3
func (b BrokerConfig) BindAddress() string
func (BrokerConfig) Host ¶ added in v1.0.3
func (b BrokerConfig) Host() string
func (BrokerConfig) Load ¶
func (b BrokerConfig) Load(configPath string) BrokerConfig
func (BrokerConfig) LogLevel ¶
func (b BrokerConfig) LogLevel() zapcore.Level
func (BrokerConfig) Port ¶
func (b BrokerConfig) Port() uint
func (BrokerConfig) SetBindAddress ¶ added in v1.0.3
func (b BrokerConfig) SetBindAddress(name string)
func (BrokerConfig) SetHost ¶ added in v1.0.3
func (b BrokerConfig) SetHost(name string)
func (BrokerConfig) SetLogLevel ¶
func (b BrokerConfig) SetLogLevel(logLevel zapcore.Level)
func (BrokerConfig) SetPort ¶
func (b BrokerConfig) SetPort(port uint)
func (BrokerConfig) SetTimeout ¶
func (b BrokerConfig) SetTimeout(timeout int)
func (BrokerConfig) SetZKQuorum ¶ added in v1.0.3
func (b BrokerConfig) SetZKQuorum(quorum []string)
func (BrokerConfig) SetZKTimeout ¶
func (b BrokerConfig) SetZKTimeout(timeout uint)
func (BrokerConfig) Timeout ¶
func (b BrokerConfig) Timeout() int
func (BrokerConfig) ZKQuorum ¶ added in v1.0.3
func (b BrokerConfig) ZKQuorum() []string
func (BrokerConfig) ZKTimeout ¶
func (b BrokerConfig) ZKTimeout() uint
Click to show internal directories.
Click to hide internal directories.