Documentation ¶
Index ¶
- Variables
- func ExitOnErr(err error)
- func NewConfig(user, pw, apiKey string) (*sarama.Config, error)
- func PopulateConfig(config *sarama.Config, user, pw, apiKey string) error
- func RequiredEnvVar(name, defaultVal string) string
- func TlsConfig(certFile, keyFile string) (*tls.Config, error)
- func Verbose(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var VerboseBool bool
Functions ¶
func RequiredEnvVar ¶
RequiredEnvVar gets an env var value. If a default value is not supplied and the env var is not defined, a fatal error is displayed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.