Documentation
¶
Index ¶
- type AText
- type AuthorDB
- type ChangesetDB
- type ChangesetMeta
- type ChatMessageDB
- type ChatMessageDBWithDisplayName
- type PadDB
- type PadDBSearch
- type PadDBSearchResult
- type PadMetaData
- type PadPool
- type PadRevDBMeta
- type PadRevision
- type PadSavedDBMeta
- type PadSingleRevision
- type RevPool
- type RevisionDB
- type SerializedAccessToken
- type StoreRefreshToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangesetMeta ¶
type ChatMessageDB ¶
type ChatMessageDBWithDisplayName ¶ added in v0.0.2
type ChatMessageDBWithDisplayName struct {
ChatMessageDB
DisplayName *string
}
type PadDB ¶
type PadDB struct {
RevNum int `json:"head"`
SavedRevisions map[int]PadRevision `json:"savedRevisions"`
Revisions map[int]PadSingleRevision `json:"revisions"`
ReadOnlyId string `json:"readOnlyId"`
Pool PadPool `json:"pool"`
ChatHead int `json:"chatHead"`
PublicStatus bool `json:"publicStatus"`
AText AText `json:"atext"`
}
type PadDBSearch ¶ added in v0.0.2
type PadDBSearchResult ¶ added in v0.0.2
type PadDBSearchResult struct {
TotalPads int
Pads []PadDBSearch
}
type PadMetaData ¶
type PadPool ¶ added in v0.0.2
type PadRevDBMeta ¶ added in v0.0.2
type PadRevision ¶
type PadRevision struct {
Content string
PadDBMeta PadRevDBMeta
}
type PadSavedDBMeta ¶ added in v0.0.2
type PadSingleRevision ¶
type RevisionDB ¶
type RevisionDB struct {
RevNum int
// contains filtered or unexported fields
}
type SerializedAccessToken ¶ added in v0.0.2
type SerializedAccessToken struct {
RequestID string
ClientID string
Scopes []string
GrantedScopes []string
RequestedAt time.Time
SessionData json.RawMessage
}
func FromFositeRequester ¶ added in v0.0.2
func FromFositeRequester(request fosite.Requester) (*SerializedAccessToken, error)
Click to show internal directories.
Click to hide internal directories.