Documentation ¶ Index ¶ type Document type Filter type Status Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Document ¶ type Document struct { Content string `json:"content"` Title string `json:"title"` Author string `json:"author"` Topic string `json:"topic"` Watermark string `json:"watermark,omitempty"` } type Filter ¶ type Filter struct { Key string `json:"key"` // If value is empty, just return everything but sorted with the key Value string `json:"value,omitempty"` } type Status ¶ type Status string const ( Pending Status = "Pending" Started Status = "Started" InProgress Status = "InProgress" Finished Status = "Finished" Failed Status = "Failed" ) Source Files ¶ View all Source files document.go Directories ¶ Show internal Expand all Path Synopsis database util Package logrusutil implements some helpers for using logrus Package logrusutil implements some helpers for using logrus Click to show internal directories. Click to hide internal directories.