http

package
v0.0.0-...-79c48be Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Users ports.DriverUser
}

func (*Adapter) UserPost

func (a *Adapter) UserPost(req *fasthttp.RequestCtx)

type UserPostCtx

type UserPostCtx struct {
	Email      string                  `json:"email,nocopy"`
	Surname    string                  `json:"surname,nocopy"`
	GivenNames string                  `json:"given_names,nocopy"`
	Password   string                  `json:"password,nocopy"`
	CreateUser ports.CommandUserCreate `json:"-"`
}

func (UserPostCtx) MarshalEasyJSON

func (v UserPostCtx) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UserPostCtx) MarshalJSON

func (v UserPostCtx) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UserPostCtx) Reset

func (r *UserPostCtx) Reset()

func (*UserPostCtx) UnmarshalEasyJSON

func (v *UserPostCtx) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UserPostCtx) UnmarshalJSON

func (v *UserPostCtx) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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