Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OAuthEndpoint ¶
OAuthEndpoint constructs an `oauth2.Endpoint` for the given domain
Types ¶
type APIError ¶
type APIError struct {
ErrorSummary string `json:"error_summary"`
}
APIError is the base type for endpoint-specific errors.
type Config ¶
type Config struct { // OAuth2 access token Token string // Enable verbose logging in SDK Verbose bool // Used with APIs that support operations as another user AsMemberID string // No need to set -- for testing only Domain string }
Config contains parameters for configuring the SDK.
type Context ¶
Context is the base client context used to implement per-namespace clients.
func NewContext ¶
NewContext returns a new Context with the given Config.
Click to show internal directories.
Click to hide internal directories.