Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Author Email string `json:"email"` Token string `json:"token"` GitHub *GitHubAccountInfo `json:"github"` }
Account data structure as returned by the API Account extends Author with private fields
type Author ¶
type Author struct { Type string `json:"type"` Name string `json:"name"` Username string `json:"username"` Urls AuthorUrls `json:"urls"` }
Author data as returned by the API Author only contains public information
type AuthorUrls ¶
type Book ¶
type Book struct { Id string `json:"id"` Name string `json:"name"` Title string `json:"title"` Description string `json:"description"` Urls struct { Access string `json:"access"` Homepage string `json:"homepage"` Read string `json:"read"` Reviews string `json:"reviews"` Subscribe string `json:"subscribe"` Download struct { Epub string `json:"epub"` Mobi string `json:"mobi"` Pdf string `json:"pdf"` } `json:"download"` } `json:"urls"` Author struct { Name string `json:"name"` Username string `json:"username"` } `json:"author"` Permissions struct { Read bool `json:"read"` Write bool `json:"write"` Manage bool `json:"manage"` } `json:"permissions"` LatestBuild struct { Version string `json:"version"` Finished string `json:"finished"` Started string `json:"started"` } `json:"latestBuild"` }
Books data structure as returned by the API
type Build ¶
type Build struct { Branch string `json:"branch"` Message string `json:"message"` Author BuildAuthor `json:"author"` }
type BuildAuthor ¶
type GitHubAccountInfo ¶
Click to show internal directories.
Click to hide internal directories.