Documentation
¶
Index ¶
- Constants
- Variables
- type APIError
- type Client
- func (c *Client) StartConnection(ctx context.Context, deviceName string) (DeviceAuthorization, error)
- func (c *Client) UploadInventory(ctx context.Context, accessToken, inventoryPath string, ...) (UploadResult, error)
- func (c *Client) WaitForToken(ctx context.Context, authorization DeviceAuthorization) (Token, error)
- type DeviceAuthorization
- type State
- type Store
- type Token
- type UploadMetadata
- type UploadResult
Constants ¶
View Source
const ( ClientID = "eql-log-parser" DefaultBaseURL = "https://eqldb.org" )
Variables ¶
View Source
var ManualRaces = []string{
"Human",
"Barbarian",
"Erudite",
"Wood Elf",
"High Elf",
"Dark Elf",
"Half Elf",
"Dwarf",
"Troll",
"Ogre",
"Halfling",
"Gnome",
"Iksar",
"Froglok",
"Kerran",
}
ManualRaces mirrors the EQLDB playable-race catalogue. Automatically parsed /who races are intentionally not restricted to this list: unknown races and illusions must still reach the server for classification.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) StartConnection ¶
func (*Client) UploadInventory ¶
func (c *Client) UploadInventory(ctx context.Context, accessToken, inventoryPath string, metadata UploadMetadata) (UploadResult, error)
func (*Client) WaitForToken ¶
type DeviceAuthorization ¶
type Store ¶
type Store struct {
Path string
}
func DefaultStore ¶
func (Store) AcquireUploadLease ¶
type UploadMetadata ¶
Click to show internal directories.
Click to hide internal directories.