Documentation
¶
Index ¶
- Constants
- type AuthConfig
- type EmbedRequest
- type Envelope
- type ForgetRequest
- type GCRequest
- type ImportRequest
- type Invite
- type LinkRequest
- type LogRequest
- type RecallRequest
- type ReceiptRequest
- type RelatedRequest
- type RememberRequest
- type RemoteConfig
- type Response
- type SearchRequest
- type VizRequest
Constants ¶
View Source
const ( DefaultAuthFileName = "auth.json" DefaultStoreName = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
SchemaVersion int `json:"schema_version"`
DefaultRemote string `json:"default_remote,omitempty"`
Remotes []RemoteConfig `json:"remotes"`
}
type EmbedRequest ¶
type ForgetRequest ¶
type ForgetRequest struct {
ID string `json:"id"`
}
type ImportRequest ¶
type Invite ¶
type Invite struct {
SchemaVersion int `json:"schema_version"`
Name string `json:"name,omitempty"`
Server string `json:"server"`
Principal string `json:"principal"`
Token string `json:"token"`
CAPEM string `json:"ca_pem,omitempty"`
ServerName string `json:"server_name,omitempty"`
Workspace string `json:"workspace,omitempty"`
Role string `json:"role,omitempty"`
}
type LinkRequest ¶
type LogRequest ¶
type LogRequest struct {
Limit int `json:"limit"`
}
type RecallRequest ¶
type ReceiptRequest ¶
type ReceiptRequest struct {
Limit int `json:"limit"`
}
type RelatedRequest ¶
type RememberRequest ¶
type RemoteConfig ¶
type RemoteConfig struct {
Name string `json:"name"`
Server string `json:"server"`
Principal string `json:"principal"`
TokenFile string `json:"token_file"`
CAFile string `json:"ca_file,omitempty"`
ServerName string `json:"server_name,omitempty"`
Workspace string `json:"workspace,omitempty"`
Auth string `json:"auth,omitempty"`
Issuer string `json:"issuer,omitempty"`
ClientID string `json:"client_id,omitempty"`
RefreshFile string `json:"refresh_file,omitempty"`
}
type SearchRequest ¶
type VizRequest ¶
type VizRequest struct {
Format string `json:"format"`
}
Click to show internal directories.
Click to hide internal directories.