handler

package
v0.0.0-...-5ab17cb Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func NewBackend

func NewBackend(backendService service.Backend) Backend

func (Backend) HandleBackendRouteRequest

func (b Backend) HandleBackendRouteRequest(w http.ResponseWriter, r *http.Request, backend config.Backend, route config.Route)

type User

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

func NewUser

func NewUser(userService service.User) User

func (User) Create

func (u User) Create(w http.ResponseWriter, r *http.Request)

func (User) Delete

func (u User) Delete(w http.ResponseWriter, r *http.Request)

func (User) GetAll

func (u User) GetAll(w http.ResponseWriter, r *http.Request)

func (User) GetByID

func (u User) GetByID(w http.ResponseWriter, r *http.Request)

func (User) Update

func (u User) Update(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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