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 PadSavedDBMeta
- type PadSingleRevision
- type RevPool
- type RevisionDB
- type SavedRevision
- 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 {
ID string `json:"id"`
Head int `json:"head"`
SavedRevisions []SavedRevision `json:"savedRevisions"`
ReadOnlyId *string `json:"readonlyId"`
Pool RevPool `json:"pool"`
ChatHead int `json:"chatHead"`
PublicStatus bool `json:"publicStatus"`
ATextText string `json:"atextText"`
ATextAttribs string `json:"atextAttribs"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
}
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 PadSavedDBMeta ¶ added in v0.0.2
type PadSingleRevision ¶
type RevisionDB ¶
type RevisionDB struct {
RevNum int
// contains filtered or unexported fields
}
type SavedRevision ¶ added in v0.0.4
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.