closer

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: CC0-1.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envelope

type Envelope struct {
	subscriptionid.T
}

Envelope is a wrapper for a signal to cancel a subscription.

func New

func New(s subscriptionid.T) (ce *Envelope)

func (*Envelope) Bytes

func (E *Envelope) Bytes() []byte

func (*Envelope) Label

func (E *Envelope) Label() string

func (*Envelope) MarshalJSON

func (E *Envelope) MarshalJSON() ([]byte, error)

func (*Envelope) String

func (E *Envelope) String() string

func (*Envelope) ToArray

func (E *Envelope) ToArray() array.T

func (*Envelope) Unmarshal

func (E *Envelope) Unmarshal(buf *text.Buffer) (e error)

Unmarshal the envelope.

Jump to

Keyboard shortcuts

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