flag

package
v0.0.0-...-a5ca7c1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiKey

func ApiKey() (string, error)

--api-key=XXX

func ApiSecret

func ApiSecret() (string, error)

--api-secret=YYY

func ChainId

func ChainId() (int64, error)

--chain-id=[1..2147483647]

func GetFloat64

func GetFloat64(cmd cobra.Command, name string) (float64, error)

func GetString

func GetString(cmd cobra.Command, name string) (string, error)

func Mult

func Mult(cmd cobra.Command) (float64, error)

--mult=[1..2]

func PrivateKey

func PrivateKey() ([]byte, error)

--private-key=['0'..'9', 'A'..'F']

Types

This section is empty.

Jump to

Keyboard shortcuts

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