Documentation
¶
Overview ¶
API Actor api for managing locations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemLocation ¶
type ItemLocation struct {
// Grid ID
GID uint64 `json:"gid"`
// ID
ID uint64 `json:"id"`
// GUID
GUID uint64 `json:"guid"`
// Location code
LocationCode string `json:"locationCode"`
// Name
Name string `json:"name"`
// Flag
Flag string `json:"flag"`
// Meta
Meta []interface{} `json:"_meta"`
// CKey
CKey string `json:"_ckey"`
}
Main information about locations
type ListRequest ¶
type ListRequest struct {
// Page number
// Required: false
Page uint64 `url:"page,omitempty" json:"page,omitempty"`
// Page size
// Required: false
Size uint64 `url:"size,omitempty" json:"size,omitempty"`
}
Request struct for get list of locations
type Locations ¶
type Locations struct {
// contains filtered or unexported fields
}
Structure for creating request to locations
func (Locations) List ¶
func (l Locations) List(ctx context.Context, req ListRequest) (ListLocations, error)
List gets list all locations
Click to show internal directories.
Click to hide internal directories.