authenvelope

package
v1.3.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const L = "AUTH"

Variables

This section is empty.

Functions

This section is empty.

Types

type Challenge

type Challenge struct {
	Challenge by
}

func NewChallenge

func NewChallenge() *Challenge

func NewChallengeWith

func NewChallengeWith[V st | by](challenge V) *Challenge

func ParseChallenge

func ParseChallenge(b by) (t *Challenge, rem by, err er)

func (*Challenge) Label

func (en *Challenge) Label() string

func (*Challenge) Marshal added in v1.2.40

func (en *Challenge) Marshal(dst by) (b by)

func (*Challenge) Unmarshal added in v1.2.40

func (en *Challenge) Unmarshal(b by) (r by, err er)

func (*Challenge) Write

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

type Response

type Response struct {
	Event *event.T
}

func NewResponse

func NewResponse() *Response

func NewResponseWith

func NewResponseWith(event *event.T) *Response

func ParseResponse

func ParseResponse(b by) (t *Response, rem by, err er)

func (*Response) Label

func (en *Response) Label() string

func (*Response) Marshal added in v1.2.40

func (en *Response) Marshal(dst by) (b by)

func (*Response) Unmarshal added in v1.2.40

func (en *Response) Unmarshal(b by) (r by, err er)

func (*Response) Write

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

Jump to

Keyboard shortcuts

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