Versions in this module Expand all Collapse all v0 v0.0.3 Jul 13, 2020 v0.0.2 May 10, 2019 Changes in this version type Client + AccessToken string + BasePath string + Host string + Scheme string v0.0.1 May 9, 2019 Changes in this version + type Client struct + APIBaseURL string + APIKey string + func NewClient(apiKey string, opts ...Option) (*Client, error) + func (c *Client) GetProjectAccessTokenByProjectIDAndName(projectID int, name string) (*ProjectAccessToken, error) + func (c *Client) GetProjectByName(name string) (*Project, error) + func (c *Client) GetUser(email string) (int, error) + func (c *Client) InviteUser(teamID int, email string) (*InviteResponse, error) + func (c *Client) ListInvites(teamID int) ([]Invite, error) + func (c *Client) ListProjectAccessTokens(projectID int) ([]*ProjectAccessToken, error) + func (c *Client) ListProjects() ([]*Project, error) + func (c *Client) ListUsers() (*ListUsersResponse, error) + func (c *Client) RemoveUserTeam(email string, teamID int) error + type Invite struct + DateCreated int + DateRedeemed int + FromUserID int + ID int + Status string + TeamID int + ToEmail string + type InviteResponse struct + Error int + Result struct{ ... } + type ListInvitesResponse struct + Error int + Result []Invite + type ListUsersResponse struct + Error int + Result struct{ ... } + type Option func(*Client) error + func BaseURL(baseURL string) Option + type Project struct + AccountID int + DateCreated int + DateModified int + ID int + Name string + type ProjectAccessToken struct + AccessToken string + DateCreated int + DateModified int + Name string + ProjectID int + Status string + type VarsUsers struct + TeamID int + UserEmail string + UserID int