Versions in this module Expand all Collapse all v0 v0.1.2 Jun 7, 2024 v0.1.0 Jun 5, 2024 Changes in this version + type AuthResponse struct + Token string + UserID int64 + type Handler struct + func New(stats *stats.Stats) *Handler + func (h *Handler) Auth(login string, pass string) (AuthResponse, error) + func (h *Handler) ExtStats(login string, pass string) + func (h *Handler) Hello() + func (h *Handler) List(token string, userID int64) (*ListResponse, error) + func (h *Handler) Order(token string, userID int64, ItemId int64) (*OrderResponse, error) + func (h *Handler) Reset() stats.Response + func (h *Handler) Stats() stats.Response + type ListItem struct + ItemId int64 + type ListResponse struct + Result []*ListItem + type OrderResponse struct + OrderId int64