Documentation ¶ Index ¶ type Client func Plug(apiKey string, rlHttpClient *netwrk.RlHttpClient, url string, ...) *Client func (c *Client) Create(params onfleet.HubCreateParams) (onfleet.Hub, error) func (c *Client) List() ([]onfleet.Hub, error) func (c *Client) Update(hubId string, params onfleet.HubUpdateParams) (onfleet.Hub, 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 } func Plug ¶ func Plug(apiKey string, rlHttpClient *netwrk.RlHttpClient, url string, call netwrk.Caller) *Client func (*Client) Create ¶ func (c *Client) Create(params onfleet.HubCreateParams) (onfleet.Hub, error) Reference https://docs.onfleet.com/reference/create-hub func (*Client) List ¶ func (c *Client) List() ([]onfleet.Hub, error) Reference https://docs.onfleet.com/reference/list-hubs func (*Client) Update ¶ func (c *Client) Update(hubId string, params onfleet.HubUpdateParams) (onfleet.Hub, error) Reference https://docs.onfleet.com/reference/update-hub Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.