Documentation ¶
Overview ¶
Package organization contains types and functions for managing organization data for the user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient interface {
Do(ctx context.Context, method, uri string, body, out interface{}) error
}
The HTTPClient interface describes types that perform HTTP requests.
type Organization ¶
The Organization type describes a single organization and the roles within it for the current user.
func List ¶
func List(ctx context.Context, client HTTPClient) ([]Organization, error)
List all organizations the user has access to and their role within it. Organizations and their roles are sorted by name.
Click to show internal directories.
Click to hide internal directories.