closeenvelope

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	subscriptionid.T
}

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

func New

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

func (*T) Bytes

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

func (*T) Label

func (E *T) Label() string

func (*T) MarshalJSON

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

func (*T) String

func (E *T) String() string

func (*T) ToArray

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

func (*T) Unmarshal

func (E *T) Unmarshal(buf *text.Buffer) (err error)

Unmarshal the envelope.

func (*T) UnmarshalJSON

func (E *T) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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