cmdutil

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 12 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectMySQL

func ConnectMySQL() (*sqlx.DB, error)

func NewExchange

func NewExchange(n types.ExchangeName) (types.Exchange, error)

NewExchange constructor exchange object from viper config.

func NewExchangeWithEnvVarPrefix

func NewExchangeWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.Exchange, error)

func PersistentFlags

func PersistentFlags(flags *pflag.FlagSet)

PersistentFlags defines the flags for environments

func WaitForSignal

func WaitForSignal(ctx context.Context, signals ...os.Signal) os.Signal

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL