httpapi

package
v0.0.0-...-26b8432 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(baseRoute string, store userz.Store, logger *zerolog.Logger) chi.Router

Types

type AddHandler

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

func (*AddHandler) ServeHTTP

func (h *AddHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type PageHandler

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

func (*PageHandler) ServeHTTP

func (h *PageHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RemoveHandler

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

func (*RemoveHandler) ServeHTTP

func (h *RemoveHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type UpdateHandler

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

func (*UpdateHandler) ServeHTTP

func (h *UpdateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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