Documentation
¶
Index ¶
- type HandlerWithStore
- func (h *HandlerWithStore) CreateMonster(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) DeleteMonster(w http.ResponseWriter, r *http.Request, id int)
- func (h *HandlerWithStore) GetMonster(w http.ResponseWriter, r *http.Request, id int)
- func (h *HandlerWithStore) HelloHandler(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) JobsHandler(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) ListJobs(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) ListMonsters(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) MonsterHandler(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) MonstersHandler(w http.ResponseWriter, r *http.Request)
- func (h *HandlerWithStore) UpdateMonster(w http.ResponseWriter, r *http.Request, id int)
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.
Click to show internal directories.
Click to hide internal directories.