closedenvelope

package
v1.2.37 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const L = "CLOSED"

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	Subscription *subscription.Id
	Reason       by
}

func New

func New() *T

func NewFrom

func NewFrom(id *subscription.Id, msg by) *T

func Parse

func Parse(b by) (t *T, rem by, err er)

func (*T) Label

func (en *T) Label() string

func (*T) MarshalJSON

func (en *T) MarshalJSON(dst by) (b by, err er)

func (*T) ReasonString

func (en *T) ReasonString() string

func (*T) UnmarshalJSON

func (en *T) UnmarshalJSON(b by) (r by, err er)

func (*T) Write

func (en *T) Write(w io.Writer) (err er)

Jump to

Keyboard shortcuts

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