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) MarshalJSON ¶
func (en *Challenge) MarshalJSON(dst by) (b by, err er)
func (*Challenge) UnmarshalJSON ¶
func (en *Challenge) UnmarshalJSON(b by) (r by, err er)
type Response ¶
func NewResponse ¶
func NewResponse() *Response
func NewResponseWith ¶
func ParseResponse ¶
func ParseResponse(b by) (t *Response, rem by, err er)
func (*Response) MarshalJSON ¶
func (en *Response) MarshalJSON(dst by) (b by, err er)
func (*Response) UnmarshalJSON ¶
func (en *Response) UnmarshalJSON(b by) (r by, err er)
Click to show internal directories.
Click to hide internal directories.