Documentation ¶
Index ¶
- func RunAPI(address string) error
- type Handler
- func (h *Handler) AddUser(c *gin.Context)
- func (h *Handler) Charge(c *gin.Context)
- func (h *Handler) GetMainPage(c *gin.Context)
- func (h *Handler) GetOrders(c *gin.Context)
- func (h *Handler) GetProducts(c *gin.Context)
- func (h *Handler) GetPromos(c *gin.Context)
- func (h *Handler) SignIn(c *gin.Context)
- func (h *Handler) SignOut(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) GetMainPage ¶
func (*Handler) GetProducts ¶
Click to show internal directories.
Click to hide internal directories.