Documentation ¶
Index ¶
Constants ¶
const ( EnvUsername = "PCAS_RABBITMQ_USERNAME" EnvPassword = "PCAS_RABBITMQ_PASSWORD" EnvAddress = "PCAS_RABBITMQ_ADDRESS" )
The environment variables consulted
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
Set represents a set of command-line flags defined by a client config.
func NewSet ¶
NewSet returns a set of command-line flags with defaults given by c. If c is nil then the rabbitmq.DefaultConfig() will be used. Note that this does not update the default config, nor does this update c. To recover the updated config after parse, call the Config() method on the returned set.
func (*Set) Config ¶
Config returns the config described by this set. This should only be called after the set has been successfully validated.
func (*Set) SetDefault ¶
func (s *Set) SetDefault()
SetDefault sets the default config as described by this set. This should only be called after the set has been successfully validated.
func (*Set) UsageFooter ¶
UsageFooter returns the footer for the usage message for this flag set.
func (*Set) UsageHeader ¶
UsageHeader returns the header for the usage message for this flag set.