Documentation ¶
Index ¶
- type AdminEditInventoryItemRecord
- type AdminEditInventoryRecord
- type AdminHandler
- func (ah *AdminHandler) AddInventory(w http.ResponseWriter, r *http.Request)
- func (ah *AdminHandler) DeleteInventory(w http.ResponseWriter, r *http.Request)
- func (ah *AdminHandler) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (ah *AdminHandler) EditInventory(w http.ResponseWriter, r *http.Request)
- func (ah *AdminHandler) EditUser(w http.ResponseWriter, r *http.Request)
- func (ah *AdminHandler) ListInventories(w http.ResponseWriter, r *http.Request)
- func (ah *AdminHandler) ListUsers(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminEditInventoryRecord ¶
type AdminEditInventoryRecord struct { ID int UserID int Name string Items []AdminEditInventoryItemRecord IsDeleted bool }
type AdminHandler ¶
func NewHandler ¶
func NewHandler(deps *deps.Deps) *AdminHandler
func (*AdminHandler) AddInventory ¶
func (ah *AdminHandler) AddInventory(w http.ResponseWriter, r *http.Request)
func (*AdminHandler) DeleteInventory ¶
func (ah *AdminHandler) DeleteInventory(w http.ResponseWriter, r *http.Request)
func (*AdminHandler) DeleteUser ¶
func (ah *AdminHandler) DeleteUser(w http.ResponseWriter, r *http.Request)
func (*AdminHandler) EditInventory ¶
func (ah *AdminHandler) EditInventory(w http.ResponseWriter, r *http.Request)
func (*AdminHandler) EditUser ¶
func (ah *AdminHandler) EditUser(w http.ResponseWriter, r *http.Request)
func (*AdminHandler) ListInventories ¶
func (ah *AdminHandler) ListInventories(w http.ResponseWriter, r *http.Request)
func (*AdminHandler) ListUsers ¶
func (ah *AdminHandler) ListUsers(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.