flags

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompressionFlag

type CompressionFlag struct {
	Compression reqresp.Compression
}

func (*CompressionFlag) Set

func (f *CompressionFlag) Set(v string) error

func (*CompressionFlag) String

func (f *CompressionFlag) String() string

func (*CompressionFlag) Type

func (f *CompressionFlag) Type() string

type EnodeFlag

type EnodeFlag struct {
	Enode *enode.Node
}

func (*EnodeFlag) Set

func (f *EnodeFlag) Set(v string) error

func (*EnodeFlag) String

func (f *EnodeFlag) String() string

func (*EnodeFlag) Type

func (f *EnodeFlag) Type() string

type EnrFlag

type EnrFlag struct {
	ENR *enr.Record
}

func (*EnrFlag) Set

func (f *EnrFlag) Set(v string) error

func (*EnrFlag) String

func (f *EnrFlag) String() string

func (*EnrFlag) Type

func (f *EnrFlag) Type() string

type EnrOrEnodeFlag

type EnrOrEnodeFlag struct {
	Enode *enode.Node
}

func (*EnrOrEnodeFlag) Set

func (f *EnrOrEnodeFlag) Set(v string) error

func (*EnrOrEnodeFlag) String

func (f *EnrOrEnodeFlag) String() string

func (*EnrOrEnodeFlag) Type

func (f *EnrOrEnodeFlag) Type() string

type FlexibleAddrFlag

type FlexibleAddrFlag struct {
	MultiAddr   ma.Multiaddr
	OptionalEnr *enode.Node
}

func (*FlexibleAddrFlag) Set

func (f *FlexibleAddrFlag) Set(v string) error

func (*FlexibleAddrFlag) String

func (f *FlexibleAddrFlag) String() string

func (*FlexibleAddrFlag) Type

func (f *FlexibleAddrFlag) Type() string

type NodeIDFlag

type NodeIDFlag struct {
	ID enode.ID
}

func (*NodeIDFlag) Set

func (f *NodeIDFlag) Set(v string) error

func (*NodeIDFlag) String

func (f *NodeIDFlag) String() string

func (*NodeIDFlag) Type

func (f *NodeIDFlag) Type() string

type NodeIDFlexibleFlag

type NodeIDFlexibleFlag struct {
	ID enode.ID
}

func (*NodeIDFlexibleFlag) Set

func (f *NodeIDFlexibleFlag) Set(v string) error

func (*NodeIDFlexibleFlag) String

func (f *NodeIDFlexibleFlag) String() string

func (*NodeIDFlexibleFlag) Type

func (f *NodeIDFlexibleFlag) Type() string

type P2pPrivKeyFlag

type P2pPrivKeyFlag struct {
	Priv *crypto.Secp256k1PrivateKey
}

func (*P2pPrivKeyFlag) Set

func (f *P2pPrivKeyFlag) Set(value string) error

func (P2pPrivKeyFlag) String

func (f P2pPrivKeyFlag) String() string

func (*P2pPrivKeyFlag) Type

func (f *P2pPrivKeyFlag) Type() string

type PeerIDFlag

type PeerIDFlag struct {
	PeerID peer.ID
}

func (*PeerIDFlag) Set

func (f *PeerIDFlag) Set(v string) error

func (*PeerIDFlag) String

func (f *PeerIDFlag) String() string

func (*PeerIDFlag) Type

func (f *PeerIDFlag) Type() string

Jump to

Keyboard shortcuts

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