noticeenvelope

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const L = "NOTICE"

Variables

This section is empty.

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 S

type S = string

type T

type T struct {
	Message B
}

func New

func New() *T

func NewFrom

func NewFrom[V S | B](msg V) *T

func (*T) Label

func (en *T) Label() string

func (*T) MarshalJSON

func (en *T) MarshalJSON(dst B) (b B, err E)

func (*T) UnmarshalJSON

func (en *T) UnmarshalJSON(b B) (r B, err E)

func (*T) Write

func (en *T) Write(ws enveloper.Writer) (err E)

Jump to

Keyboard shortcuts

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