Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONResponse ¶
func JSONResponse(w http.ResponseWriter, status int, data any)
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateItem ¶
func (s *Server) CreateItem(w http.ResponseWriter, r *http.Request)
CreateItem creates a new item
Click to show internal directories.
Click to hide internal directories.