flag

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressVar

func AddressVar(f *pflag.FlagSet, p *gethcommon.Address, name string, value gethcommon.Address, usage string)

AddressVar registers a gethcommon.Address custom flag with specified name, default value, and usage string. The argument p points to a gethcommon.Address variable in which to store the value of the flag

func AddressVarP

func AddressVarP(f *pflag.FlagSet, p *gethcommon.Address, name, shorthand string, value gethcommon.Address, usage string)

AddressVar registers a gethcommon.Address custom flag with specified name, and shorthand, default value, and usage string. The argument p points to a gethcommon.Address variable in which to store the value of the flag

func BigIntVar

func BigIntVar(f *pflag.FlagSet, p **big.Int, name string, value *big.Int, usage string)

BigIntVar register a *big.Int custom flag with specified name, default value, and usage string. The argument p points to a *big.Int variable in which to store the value of the flag

func BigIntVarP

func BigIntVarP(f *pflag.FlagSet, p **big.Int, name, shorthand string, value *big.Int, usage string)

BigIntVar registers a *big.Int custom flag with specified name and shorthand, default value, and usage string. The argument p points to a *big.Int variable in which to store the value of the flag

func BlockNumberVar

func BlockNumberVar(f *pflag.FlagSet, p **big.Int, name string, value *big.Int, usage string)

BlockNumberVar registers a *big.Int blocknumber custom flag with specified name, default value, and usage string. The argument p points to a *big.Int variable in which to store the value of the flag

func BlockNumberVarP

func BlockNumberVarP(f *pflag.FlagSet, b **big.Int, name, shorthand string, value *big.Int, usage string)

BlockNumberVar registers a *big.Int blocknumber custom flag with specified name and shorthand, default value, and usage string. The argument p points to a *big.Int variable in which to store the value of the flag

func CallOptsVar

func CallOptsVar(f *pflag.FlagSet, callOpts *types.CallOpts)

CallOptsVar registers a set of custom flags for eth1.CallOpts

func TransactOptsVar

func TransactOptsVar(f *pflag.FlagSet, txOpts *types.TransactOpts)

TransactOptsVar registers a set of custom flags for eth1.TransactOpts

Types

This section is empty.

Jump to

Keyboard shortcuts

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