router

package
v0.0.0-...-e7422fe Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstance

func NewInstance(us *UserService, cfg *config.Config, logger *log.Entry) *http.Server

Types

type UserService

type UserService struct {
	shared.Addresser
	shared.Auther
	shared.Contacter
	shared.Userer
	valid.Validator
}

func (*UserService) CreateContact

func (us *UserService) CreateContact(w http.ResponseWriter, r *http.Request)

func (UserService) DeleteLogin

func (us UserService) DeleteLogin(w http.ResponseWriter, r *http.Request)

func (*UserService) DeleteUser

func (us *UserService) DeleteUser(w http.ResponseWriter, r *http.Request)

func (UserService) GetAddress

func (us UserService) GetAddress(w http.ResponseWriter, r *http.Request)

func (UserService) GetAllAddresses

func (us UserService) GetAllAddresses(w http.ResponseWriter, r *http.Request)

func (UserService) GetAllUsers

func (us UserService) GetAllUsers(w http.ResponseWriter, r *http.Request)

func (UserService) GetAuth

func (us UserService) GetAuth(w http.ResponseWriter, r *http.Request)

func (UserService) GetUser

func (us UserService) GetUser(w http.ResponseWriter, r *http.Request)

func (UserService) GetValid

func (us UserService) GetValid(w http.ResponseWriter, r *http.Request)

func (*UserService) PatchAddress

func (us *UserService) PatchAddress(w http.ResponseWriter, r *http.Request)

func (*UserService) PatchContact

func (us *UserService) PatchContact(w http.ResponseWriter, r *http.Request)

func (UserService) PatchLogin

func (us UserService) PatchLogin(w http.ResponseWriter, r *http.Request)

func (*UserService) PatchUser

func (us *UserService) PatchUser(w http.ResponseWriter, r *http.Request)

func (*UserService) PostAddress

func (us *UserService) PostAddress(w http.ResponseWriter, r *http.Request)

func (UserService) PostLogin

func (us UserService) PostLogin(w http.ResponseWriter, r *http.Request)

func (UserService) PostLogout

func (us UserService) PostLogout(w http.ResponseWriter, r *http.Request)

func (*UserService) PostUser

func (us *UserService) PostUser(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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