internal

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(err error)

func Checkf

func Checkf(err error, format string, otherArgs ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func LoadKey

func LoadKey(s string) ed25519.PrivateKey

LoadKey attempts to parse the given string as a secret key address or file.

func Warnf

func Warnf(format string, args ...interface{})

Types

type MultiaddrFlag

type MultiaddrFlag struct {
	Value *multiaddr.Multiaddr
}

func (MultiaddrFlag) Set

func (m MultiaddrFlag) Set(s string) error

func (MultiaddrFlag) String

func (m MultiaddrFlag) String() string

func (MultiaddrFlag) Type

func (m MultiaddrFlag) Type() string

type MultiaddrSliceFlag

type MultiaddrSliceFlag []multiaddr.Multiaddr

func (*MultiaddrSliceFlag) Set

func (m *MultiaddrSliceFlag) Set(s string) error

func (MultiaddrSliceFlag) String

func (m MultiaddrSliceFlag) String() string

func (MultiaddrSliceFlag) Type

func (m MultiaddrSliceFlag) Type() string

type UrlFlag added in v1.1.1

type UrlFlag struct {
	V **url.URL
}

func (UrlFlag) Set added in v1.1.1

func (f UrlFlag) Set(s string) error

func (UrlFlag) String added in v1.1.1

func (f UrlFlag) String() string

func (UrlFlag) Type added in v1.1.1

func (f UrlFlag) Type() string

Jump to

Keyboard shortcuts

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