Documentation ¶
Index ¶
- Constants
- type Book
- type Note
- type Plugin
- func (p *Plugin) Atom(lang string) ([]*atom.Entry, error)
- func (p *Plugin) Console() []cli.Command
- func (p *Plugin) Init()
- func (p *Plugin) Mount(rt *gin.Engine)
- func (p *Plugin) Open(*inject.Graph) error
- func (p *Plugin) Sitemap(languages ...string) ([]stm.URL, error)
- func (p *Plugin) Workers() map[string]job.Handler
Constants ¶
View Source
const ( // EPUB epub book ext EPUB = ".epub" // SEP sep SEP = ";" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { web.Model Author string `json:"author"` Publisher string `json:"publisher"` Title string `json:"title"` Type string `json:"type"` Lang string `json:"lang"` File string `json:"-"` Subject string `json:"subject"` Description string `json:"description"` PublishedAt time.Time `json:"publishedAt"` Cover string `json:"cover"` }
Book book
type Note ¶
type Note struct { web.Model Type string `json:"type"` Body string `json:"body"` UserID uint `json:"userId"` User auth.User `json:"-"` BookID uint `json:"bookId"` Book Book `json:"book"` }
Note note
Click to show internal directories.
Click to hide internal directories.