rest

package
v0.0.0-...-4a3359c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideRoutes

func ProvideRoutes(rest *Handler) *chi.Mux

Types

type Handler

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

func NewHandler

func NewHandler(service service.OrderService, auth core.AuthService, config config.CommonConfig) *Handler

func (*Handler) Count

func (h *Handler) Count(w http.ResponseWriter, r *http.Request)

func (*Handler) Get

func (h *Handler) Get(w http.ResponseWriter, r *http.Request)

func (*Handler) GetOne

func (h *Handler) GetOne(w http.ResponseWriter, r *http.Request)

func (*Handler) HealthZ

func (h *Handler) HealthZ(w http.ResponseWriter, r *http.Request)

func (*Handler) Patch

func (h *Handler) Patch(w http.ResponseWriter, r *http.Request)

func (*Handler) Post

func (h *Handler) Post(w http.ResponseWriter, r *http.Request)

func (*Handler) PostOne

func (h *Handler) PostOne(w http.ResponseWriter, r *http.Request)

func (*Handler) ReadyZ

func (h *Handler) ReadyZ(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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