Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PubStates = &States{ LegalStates: map[int]bool{ -40: true, 0: true, 10000: true, 1: true, 1001: true, 15000: true, 20000: true, 30000: true, }, }
PubStates publish states
Functions ¶
This section is empty.
Types ¶
type ArchiveMessage ¶
type ArchiveMessage struct { Action string `json:"action"` Table string `json:"table"` New *ArchiveMeta `json:"new"` Old *ArchiveMeta `json:"old"` }
ArchiveMessage databus message
type ArchiveMeta ¶
type ArchiveMeta struct { AID uint64 `json:"aid"` Title string `json:"title"` State int `json:"state"` }
ArchiveMeta Archive Metadata
type DocumentsResp ¶
type DocumentsResp struct { Documents []Document `json:"ducuments"` Tokens []string `json:"tokens"` Page *Page `json:"page"` }
DocumentsResp resp of documents
type IDsResp ¶
type IDsResp struct { IDs []uint64 `json:"ids"` Tokens []string `json:"tokens"` Page *Page `json:"page"` }
IDsResp resp of ids
Click to show internal directories.
Click to hide internal directories.