api

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(svc service.Service) *Handler

func (*Handler) AuthMiddleware added in v0.0.19

func (h *Handler) AuthMiddleware(next http.Handler) http.Handler

func (*Handler) ServeAddTask

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

func (*Handler) ServeAddUser added in v0.0.16

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

func (*Handler) ServeGetTaskList

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

func (*Handler) ServeHealthCheck

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

func (*Handler) ServeLogin added in v0.0.17

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

Jump to

Keyboard shortcuts

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