Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, req *Request) (Response, error)
- func (c *Client) Delete(ctx context.Context, id string) error
- func (c *Client) Get(ctx context.Context, personalTokenID string) (*sdk.PersonalTokenResponseGet, error)
- func (c *Client) List(ctx context.Context) ([]sdk.PersonalTokenResponseGet, error)
- type Request
- type Response
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
}
type Request ¶
type Request struct {
sdk.CreatePersonalTokenRequest
}
Click to show internal directories.
Click to hide internal directories.