rest

package
v0.0.0-...-990aa43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAPI

func RunAPI(address string) error

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler() (*Handler, error)

func (*Handler) AddUser

func (h *Handler) AddUser(c *gin.Context)

func (*Handler) Charge

func (h *Handler) Charge(c *gin.Context)

func (*Handler) GetMainPage

func (h *Handler) GetMainPage(c *gin.Context)

func (*Handler) GetOrders

func (h *Handler) GetOrders(c *gin.Context)

func (*Handler) GetProducts

func (h *Handler) GetProducts(c *gin.Context)

func (*Handler) GetPromos

func (h *Handler) GetPromos(c *gin.Context)

func (*Handler) SignIn

func (h *Handler) SignIn(c *gin.Context)

func (*Handler) SignOut

func (h *Handler) SignOut(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL