Documentation ¶
Index ¶
- type AuthResponse
- type Handler
- func (h *Handler) Auth(login string, pass string) (AuthResponse, error)
- func (h *Handler) ExtStats(login string, pass string)
- func (h *Handler) Hello(name string, skipStats bool, sleep time.Duration) string
- 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
- type ListResponse
- type OrderResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponse ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
type ListResponse ¶
type ListResponse struct {
Result []*ListItem `json:"result,omitempty"`
}
type OrderResponse ¶
type OrderResponse struct {
OrderId int64 `json:"order_id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.