id

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID [32]byte

func NewID

func NewID(data []byte) ID

func (ID) Compare

func (i ID) Compare(other ID) int

func (ID) Equals

func (i ID) Equals(other ID) bool

func (*ID) MarshalText

func (i *ID) MarshalText() ([]byte, error)

func (ID) String

func (i ID) String() string

func (*ID) UnmarshalText

func (i *ID) UnmarshalText(bs []byte) (err error)

type ImproperCertsNumberError

type ImproperCertsNumberError struct {
	N int
}

ImproperCertsNumberError returned error when peer certificate is not 1

func (ImproperCertsNumberError) Error

func (e ImproperCertsNumberError) Error() string

Jump to

Keyboard shortcuts

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