Documentation ¶
Index ¶
- func ProvideRoutes(rest *Handler) *chi.Mux
- type Handler
- func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetBrand(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetBy(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetModel(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetSKU(w http.ResponseWriter, r *http.Request)
- func (h *Handler) HealthZ(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Post(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostAll(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostOne(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostQuery(w http.ResponseWriter, r *http.Request)
- func (h *Handler) ReadyZ(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideRoutes ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(search service.ReferenceSearchService, sync service.ReferenceSyncService, auth core.AuthService, config config.CommonConfig) *Handler
Click to show internal directories.
Click to hide internal directories.