Versions in this module Expand all Collapse all v0 v0.0.5 May 17, 2024 Changes in this version type User + Created int64 + LastLogin int64 + Notes string v0.0.4 Sep 21, 2023 Changes in this version type Client + func (c *Client) AddUserToGroup(ctx context.Context, groupId, userId string) error + func (c *Client) RemoveUserFromGroup(ctx context.Context, groupId, userId string) error v0.0.3 May 6, 2023 Changes in this version + type Account struct + Name string + type AccountResponse struct + Response Account + Stat string + type Admin struct + AdminID string + Email string + Name string + Role string + Status string + type AdminsResponse struct + Metadata ListResultMetadata + Response []Admin + Stat string + type Client struct + func NewClient(integrationKey string, secretKey string, apiHostname string, ...) *Client + func (c *Client) GetAccount(ctx context.Context) (Account, error) + func (c *Client) GetAdmins(ctx context.Context, offset string) ([]Admin, string, error) + func (c *Client) GetGroupUsers(ctx context.Context, groupId string, offset string) ([]User, string, error) + func (c *Client) GetGroups(ctx context.Context, offset string) ([]Group, string, error) + func (c *Client) GetIntegration(ctx context.Context) (IntegrationResponse, error) + func (c *Client) GetUser(ctx context.Context, userId string) (User, error) + func (c *Client) GetUsers(ctx context.Context, offset string) ([]User, string, error) + type ErrorResponse struct + Code int64 + Message string + MessageDetail string + type Group struct + Desc string + GroupID string + Name string + Status string + type GroupUsersResponse struct + Metadata ListResultMetadata + Response []User + Stat string + type GroupsResponse struct + Metadata ListResultMetadata + Response []Group + Stat string + type IntegrationResponse struct + Response struct{ ... } + Stat string + type ListResultMetadata struct + NextOffset json.Number + PrevOffset json.Number + TotalObjects json.Number + type User struct + Email string + FirstName string + LastName string + RealName string + Status string + UserID string + Username string + type UserResponse struct + Response User + Stat string + type UsersResponse struct + Metadata ListResultMetadata + Response []User + Stat string