delivery

package
v0.0.0-...-054ff44 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(service user.ServiceInterface)

Types

type UserDelivery

type UserDelivery struct {
	// contains filtered or unexported fields
}

func (*UserDelivery) Create

func (delivery *UserDelivery) Create(w http.ResponseWriter, r *http.Request)

func (*UserDelivery) Login

func (delivery *UserDelivery) Login(w http.ResponseWriter, r *http.Request)

type UserReq

type UserReq struct {
	Name     string `json:"name" form:"name"`
	Email    string `json:"email" form:"email"`
	Password string `json:"password" form:"password"`
	Role     string `json:"role" form:"role"`
}

Jump to

Keyboard shortcuts

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