Documentation ¶ Index ¶ type Client func NewClient(config *config.Config) (*Client, error) func (c *Client) GetByCommandArgs(ctx context.Context, args *commandargs.Shell) (*Response, error) type Response func (r *Response) IsAnonymous() bool 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 NewClient ¶ func NewClient(config *config.Config) (*Client, error) func (*Client) GetByCommandArgs ¶ func (c *Client) GetByCommandArgs(ctx context.Context, args *commandargs.Shell) (*Response, error) type Response ¶ type Response struct { UserId int64 `json:"id"` Name string `json:"name"` Username string `json:"username"` } func (*Response) IsAnonymous ¶ func (r *Response) IsAnonymous() bool Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.