Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
Result bool `json:"result"`
StatusCode int `json:"statusCode"`
Message string `json:"message"`
Info interface{} `json:"info"`
}
func NewErrorApi ¶
func NewErrorApi() Api
func NewErrorApiWithInfo ¶
func NewErrorApiWithInfo(info interface{}) Api
func NewOKApiWithInfo ¶
func NewOKApiWithInfo(info interface{}) Api
type Author ¶
type Book ¶
type Book struct {
Id int `json:"id" xorm:"pk 'id'"`
Title string `json:"title" xorm:"'title'"`
Sort string `json:"sort" xorm:"'sort'"`
Timestamp time.Time `json:"timestamp" xorm:"'timestamp'"`
Pubdate time.Time `json:"pubdate" xorm:"'pubdate'"`
SeriesIndex float64 `json:"series_index" xorm:"'series_index'"`
AuthorSort string `json:"author_sort" xorm:"'author_sort'"`
Isbn string `json:"isbn" xorm:"'isbn'"`
Lccn string `json:"lccn" xorm:"'lccn'"`
Path string `json:"path" xorm:"'path'"`
Flags int `json:"flags" xorm:"'flags'"`
Uuid string `json:"uuid" xorm:"'uuid'"`
HasCover int `json:"has_cover" xorm:"'has_cover'"`
LastModified time.Time `json:"last_modified" xorm:"'last_modified'"`
}
type BookPluginData ¶
type BookPluginData struct {
Id int `json:"id" xorm:"pk 'id'"`
Book int `json:"book" xorm:"'book'"`
Name string `json:"name" xorm:"'name'"`
Val string `json:"val" xorm:"'val'"`
}
func (BookPluginData) TableName ¶
func (BookPluginData) TableName() string
type BookRatingLink ¶
type BookRatingLink struct {
Id int `json:"id" xorm:"pk 'id'"`
Book int `json:"book" xorm:"'book'"`
Rating int `json:"rating" xorm:"'rating'"`
}
func (BookRatingLink) TableName ¶
func (BookRatingLink) TableName() string
type BookSerieLink ¶
type BookSerieLink struct {
Id int `json:"id" xorm:"pk 'id'"`
Book int `json:"book" xorm:"'book'"`
Series int `json:"series" xorm:"'series'"`
}
func (BookSerieLink) TableName ¶
func (BookSerieLink) TableName() string
type BookVo ¶
type BookVo struct {
Id int `json:"id" xorm:"pk 'id'"`
Title string `json:"title" xorm:"'title'"` // book name
Sort string `json:"sort" xorm:"'sort'"`
Timestamp time.Time `json:"timestamp" xorm:"'timestamp'"`
Pubdate time.Time `json:"pubdate" xorm:"'pubdate'"`
SeriesIndex float64 `json:"series_index" xorm:"'series_index'"`
AuthorSort string `json:"author_sort" xorm:"'author_sort'"`
Isbn string `json:"isbn" xorm:"'isbn'"`
Lccn string `json:"lccn" xorm:"'lccn'"`
Path string `json:"path" xorm:"'path'"`
Flags int `json:"flags" xorm:"'flags'"`
Uuid string `json:"uuid" xorm:"'uuid'"`
HasCover int `json:"has_cover" xorm:"'has_cover'"`
LastModified time.Time `json:"last_modified" xorm:"'last_modified'"`
Rating int `json:"rating" xorm:"'rating'"`
Name string `json:"name" xorm:"'name'"` //author name
Comments string `json:"comments" xorm:"'comments'"` //comments's text only use in single book
}
type Comments ¶
type ConversionOption ¶
type ConversionOption struct {
Id int `json:"id" xorm:"pk 'id'"`
Format string `json:"format" xorm:"'format'"`
Book int `json:"book" xorm:"'book'"`
Data string `json:"data" xorm:"'data'"`
}
func (ConversionOption) TableName ¶
func (ConversionOption) TableName() string
type CustomColumn ¶
type CustomColumn struct {
Id int `json:"id" xorm:"pk 'id'"`
Label string
Name string
Datatype string
MarkForDelete int
Editable int
Display string
IsMultiple int
Normalized int
}
func (CustomColumn) TableName ¶
func (CustomColumn) TableName() string
type Data ¶
type Feed ¶
type Identifier ¶
type Identifier struct {
Id int `json:"id" xorm:"pk 'id'"`
Book int `json:"book" xorm:"'book'"`
Type string `json:"type" xorm:"'type'"`
Val string `json:"val" xorm:"'val'"`
}
func (Identifier) TableName ¶
func (Identifier) TableName() string
type Language ¶
Click to show internal directories.
Click to hide internal directories.