Documentation
¶
Index ¶
- Constants
- type Change
- type ChapterUserData
- type GetAuthMe
- type GetChapterByIdUser
- type GetLibraryStatus
- type GetSystemInfo
- type Images
- type PostAuthSignin
- type PostAuthSigninBody
- type PostAuthSignup
- type PostAuthSignupBody
- type PostSystemSetupBody
- type PostUserMarkChaptersBody
- type PostUserUnmarkChaptersBody
- type PostUserUpdateBookmarkBody
- type Serie
- type WorkDir
- func (d WorkDir) ChapterDir(id string) string
- func (d WorkDir) ChaptersDir() string
- func (d WorkDir) DatabaseFile() string
- func (d WorkDir) ExportFile() string
- func (d WorkDir) SerieDir(id string) string
- func (d WorkDir) SeriesDir() string
- func (d WorkDir) SetupFile() string
- func (d WorkDir) String() string
- func (d WorkDir) Trash() string
Constants ¶
View Source
const ( RoleSuperUser = "super_user" RoleAdmin = "admin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChapterUserData ¶
type ChapterUserData struct {
IsMarked bool `json:"isMarked"`
}
type GetChapterByIdUser ¶ added in v0.4.0
type GetChapterByIdUser struct {
IsMarked bool `json:"isMarked"`
}
type GetLibraryStatus ¶
type GetLibraryStatus struct {
Syncing bool `json:"syncing"`
}
type GetSystemInfo ¶ added in v0.3.0
type GetSystemInfo struct {
Version string `json:"version"`
}
type PostAuthSignin ¶ added in v0.4.0
type PostAuthSignin struct {
Token string `json:"token"`
}
type PostAuthSigninBody ¶ added in v0.4.0
type PostAuthSigninBody struct {
Username string `json:"username"`
Password string `json:"password"`
}
TODO(patrik): Validate and transform
type PostAuthSignup ¶ added in v0.4.0
type PostAuthSignupBody ¶ added in v0.4.0
type PostAuthSignupBody struct {
Username string `json:"username"`
Password string `json:"password"`
PasswordConfirm string `json:"passwordConfirm"`
}
TODO(patrik): Validate and transform
type PostSystemSetupBody ¶ added in v0.3.0
type PostSystemSetupBody struct {
Username string `json:"username"`
Password string `json:"password"`
PasswordConfirm string `json:"passwordConfirm"`
}
TODO(patrik): Validate and transform
type PostUserMarkChaptersBody ¶ added in v0.4.0
type PostUserMarkChaptersBody struct {
Chapters []string `json:"chapters"`
}
TODO(patrik): Validate and transform
type PostUserUnmarkChaptersBody ¶ added in v0.4.0
type PostUserUnmarkChaptersBody struct {
Chapters []string `json:"chapters"`
}
TODO(patrik): Validate and transform
type PostUserUpdateBookmarkBody ¶ added in v0.4.0
type PostUserUpdateBookmarkBody struct {
SerieId string `json:"serieId"`
ChapterId string `json:"chapterId"`
Page int `json:"page"`
}
TODO(patrik): Validate and transform
type WorkDir ¶
type WorkDir string
func (WorkDir) ChapterDir ¶ added in v0.10.0
func (WorkDir) ChaptersDir ¶
func (WorkDir) DatabaseFile ¶
func (WorkDir) ExportFile ¶ added in v0.10.0
TODO(patrik): Remove
Click to show internal directories.
Click to hide internal directories.