Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Create(collection string, body any) error
- func (c *Client) Delete(collection string, id string) error
- func (c *Client) GetInterfacesFromSwitchName(name string) ([]models.Interface, error)
- func (c *Client) List(collection string, params Params) ([]byte, error)
- func (c *Client) Update(collection string, id string, body any) error
- func (c *Client) View(collection string, id string) ([]byte, error)
- type Params
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidResponse = errors.New("invalid response")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetInterfacesFromSwitchName ¶
Click to show internal directories.
Click to hide internal directories.