Documentation ¶
Index ¶
- func NewResponse(w http.ResponseWriter, status int, msg any)
- type Handler
- func (h *Handler) CheckRequest(w http.ResponseWriter, r *http.Request, data any) bool
- func (h *Handler) CreateBuy(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateSale(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateUser(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetAccountInfo(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetCompanies(w http.ResponseWriter, r *http.Request)
- type PriceSellInput
- type Router
- type UserCreateInputData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResponse ¶
func NewResponse(w http.ResponseWriter, status int, msg any)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) CheckRequest ¶
func (*Handler) CreateSale ¶
func (h *Handler) CreateSale(w http.ResponseWriter, r *http.Request)
func (*Handler) CreateUser ¶
func (h *Handler) CreateUser(w http.ResponseWriter, r *http.Request)
func (*Handler) GetAccountInfo ¶
func (h *Handler) GetAccountInfo(w http.ResponseWriter, r *http.Request)
func (*Handler) GetCompanies ¶
func (h *Handler) GetCompanies(w http.ResponseWriter, r *http.Request)
type PriceSellInput ¶
type UserCreateInputData ¶
Click to show internal directories.
Click to hide internal directories.