Documentation ¶
Index ¶
- type Config
- func (c *Config) GetConnectionString() string
- func (c *Config) GetHost() string
- func (c *Config) GetPassword() string
- func (c *Config) GetPort() string
- func (c *Config) GetUsername() string
- func (c *Config) SetHost(host string)
- func (c *Config) SetPassword(password string)
- func (c *Config) SetPort(port string)
- func (c *Config) SetUsername(username string)
- func (c *Config) Validate() error
- type IConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetConnectionString ¶
func (*Config) GetPassword ¶
func (*Config) GetUsername ¶
func (*Config) SetPassword ¶
func (*Config) SetUsername ¶
type IConfig ¶
type IConfig interface { Validate() error GetHost() string SetHost(host string) GetPort() string SetPort(port string) GetUsername() string SetUsername(username string) GetPassword() string SetPassword(password string) GetConnectionString() string }
func NewBrokerConfig ¶
func NewBrokerConfig() IConfig
Click to show internal directories.
Click to hide internal directories.