Documentation ¶
Index ¶
- func ConnectMySQL() (*sqlx.DB, error)
- func NewExchange(n types.ExchangeName) (types.Exchange, error)
- func NewExchangeWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.Exchange, error)
- func PersistentFlags(flags *pflag.FlagSet)
- func WaitForSignal(ctx context.Context, signals ...os.Signal) os.Signal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMySQL ¶
func NewExchange ¶
func NewExchange(n types.ExchangeName) (types.Exchange, error)
NewExchange constructor exchange object from viper config.
func PersistentFlags ¶
PersistentFlags defines the flags for environments
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.