handlers

package
v0.0.0-...-7a76d2e Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerWithStore

type HandlerWithStore struct {
	Store      *store.Store
	JobManager *jobs.JobManager
}

func (*HandlerWithStore) CreateMonster

func (h *HandlerWithStore) CreateMonster(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) DeleteMonster

func (h *HandlerWithStore) DeleteMonster(w http.ResponseWriter, r *http.Request, id int)

func (*HandlerWithStore) GetMonster

func (h *HandlerWithStore) GetMonster(w http.ResponseWriter, r *http.Request, id int)

GetUser retrieves a user by ID.

func (*HandlerWithStore) HelloHandler

func (h *HandlerWithStore) HelloHandler(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) JobsHandler

func (h *HandlerWithStore) JobsHandler(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) ListJobs

func (h *HandlerWithStore) ListJobs(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) ListMonsters

func (h *HandlerWithStore) ListMonsters(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) MonsterHandler

func (h *HandlerWithStore) MonsterHandler(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) MonstersHandler

func (h *HandlerWithStore) MonstersHandler(w http.ResponseWriter, r *http.Request)

func (*HandlerWithStore) UpdateMonster

func (h *HandlerWithStore) UpdateMonster(w http.ResponseWriter, r *http.Request, id int)

GetUser retrieves a user by ID.

Jump to

Keyboard shortcuts

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