Documentation
¶
Overview ¶
Package client wraps the API specs into a client
Index ¶
- type Client
- func (c *Client) Assignments(ctx context.Context) (*[]api.Assignment2, error)
- func (c *Client) Campaigns(ctx context.Context) (*[]api.Campaign2, error)
- func (c *Client) Connect(ctx context.Context) error
- func (c *Client) Dispatches(ctx context.Context) (*[]api.Dispatch, error)
- func (c *Client) Planets(ctx context.Context) (*[]api.Planet, error)
- func (c *Client) War(ctx context.Context) (*api.War, error)
- func (c *Client) WarID(ctx context.Context) (*api.WarId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the generated OpenAPI client
func (*Client) Assignments ¶
Assignments returns all currently active assignments
func (*Client) Dispatches ¶
Dispatches returns all currently active dispatches
Click to show internal directories.
Click to hide internal directories.