cmdutil

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExchange

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

NewExchange constructor exchange object from viper config.

func NewExchangeStandard

func NewExchangeStandard(n types.ExchangeName, key, secret, passphrase, subAccount string) (types.Exchange, error)

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