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.
Directories
¶
Path | Synopsis |
---|---|
Package async : has no documentation (yet)
|
Package async : has no documentation (yet) |
Package auth : has no documentation (yet)
|
Package auth : has no documentation (yet) |
Package common : has no documentation (yet)
|
Package common : has no documentation (yet) |
Package files : This namespace contains endpoints and data types for basic file operations.
|
Package files : This namespace contains endpoints and data types for basic file operations. |
Package properties : This namespace contains helper entities for property and property/template endpoints.
|
Package properties : This namespace contains helper entities for property and property/template endpoints. |
Package sharing : This namespace contains endpoints and data types for creating and managing shared links and shared folders.
|
Package sharing : This namespace contains endpoints and data types for creating and managing shared links and shared folders. |
Package team : has no documentation (yet)
|
Package team : has no documentation (yet) |
Package team_common : has no documentation (yet)
|
Package team_common : has no documentation (yet) |
Package team_policies : has no documentation (yet)
|
Package team_policies : has no documentation (yet) |
Package users : This namespace contains endpoints and data types for user management.
|
Package users : This namespace contains endpoints and data types for user management. |
Click to show internal directories.
Click to hide internal directories.