wrap

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ioutil

type Ioutil struct{}

func (Ioutil) ReadFile

func (a Ioutil) ReadFile(filename string) ([]byte, error)

func (Ioutil) WriteFile

func (a Ioutil) WriteFile(filename string, data []byte, perm os.FileMode) error

type Ioutiler

type Ioutiler interface {
	ReadFile(filename string) ([]byte, error)
	WriteFile(filename string, data []byte, perm os.FileMode) error
}

type Manet

type Manet struct{}

func (Manet) IsPublicAddr

func (d Manet) IsPublicAddr(a ma.Multiaddr) bool

type Maneter

type Maneter interface {
	IsPublicAddr(a ma.Multiaddr) bool
}

Jump to

Keyboard shortcuts

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