reasons

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: CC0-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuthRequired = Reason("auth-required")
	PoW          = Reason("pow")
	Duplicate    = Reason("duplicate")
	Blocked      = Reason("blocked")
	RateLimited  = Reason("rate-limited")
	Invalid      = Reason("invalid")
	Error        = Reason("error")
	Unsupported  = Reason("unsupported")
)

Functions

This section is empty.

Types

type B

type B = []byte

type E

type E = error

type N added in v0.0.14

type N = int

type Reason

type Reason B

func (Reason) B

func (r Reason) B() B

func (Reason) IsPrefix

func (r Reason) IsPrefix(reason B) bool

func (Reason) S

func (r Reason) S() S

type S

type S = string

Jump to

Keyboard shortcuts

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