cmdutil

package
v1.19.3 Latest Latest
Warning

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

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

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 added in v1.11.0

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