Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateProduct(w http.ResponseWriter, r *http.Request)
- func (s *Server) DeleteProduct(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetProduct(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetProducts(w http.ResponseWriter, r *http.Request)
- func (s *Server) InitializeRoutes()
- func (s *Server) UpdateProduct(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) CreateProduct ¶
func (s *Server) CreateProduct(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteProduct ¶
func (s *Server) DeleteProduct(w http.ResponseWriter, r *http.Request)
func (*Server) GetProduct ¶
func (s *Server) GetProduct(w http.ResponseWriter, r *http.Request)
func (*Server) GetProducts ¶
func (s *Server) GetProducts(w http.ResponseWriter, r *http.Request)
func (*Server) InitializeRoutes ¶
func (s *Server) InitializeRoutes()
func (*Server) UpdateProduct ¶
func (s *Server) UpdateProduct(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.