cliutils

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressValue

type AddressValue struct {
	Value *common.Address
}

func (*AddressValue) Set

func (v *AddressValue) Set(value string) error

func (*AddressValue) String

func (v *AddressValue) String() string

type ChoiceValue

type ChoiceValue struct {
	Choices []string // the choices that this value can take
	Value   *string  // the actual value
}

func (*ChoiceValue) Set

func (v *ChoiceValue) Set(value string) error

func (*ChoiceValue) String

func (v *ChoiceValue) String() string

type MultiaddrSlice

type MultiaddrSlice struct {
	Values *[]multiaddr.Multiaddr
}

func (*MultiaddrSlice) Set

func (k *MultiaddrSlice) Set(value string) error

func (*MultiaddrSlice) String

func (v *MultiaddrSlice) String() string

type MultiaddrValue

type MultiaddrValue struct {
	Value **multiaddr.Multiaddr
}

func (*MultiaddrValue) Set

func (v *MultiaddrValue) Set(value string) error

func (*MultiaddrValue) String

func (v *MultiaddrValue) String() string

type PrivateKeyValue

type PrivateKeyValue struct {
	Value **ecdsa.PrivateKey
}

func (*PrivateKeyValue) Set

func (v *PrivateKeyValue) Set(value string) error

func (*PrivateKeyValue) String

func (v *PrivateKeyValue) String() string

Jump to

Keyboard shortcuts

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