Documentation ¶
Index ¶
- type App
- func (app *App) CreateLink(url string) error
- func (app *App) CreateTag(tag string) error
- func (app *App) DeleteDocument(id string) error
- func (app *App) DownloadBook(id string) error
- func (app *App) DownloadDocument(id string) error
- func (app *App) DownloadPaper(id string) error
- func (app *App) FindBookByID(id string) (*Document, error)
- func (app *App) FindBooks() ([]*Document, error)
- func (app *App) FindDocumentByID(id string) (*Document, error)
- func (app *App) FindDocuments() ([]*Document, error)
- func (app *App) FindLinkByID(id string) (entity Link, err error)
- func (app *App) FindLinks() ([]Link, error)
- func (app *App) FindPaperByID(id string) (*Document, error)
- func (app *App) FindPapers() ([]*Document, error)
- func (app *App) FindTags() ([]Tag, error)
- func (app *App) GetAuthToken(username, password string) error
- func (app *App) SetConfigurationValue(key, value string) error
- func (app *App) TagBook(id, tag string) error
- func (app *App) TagLink(id, tag string) error
- func (app *App) TagMap() (map[string]string, error)
- func (app *App) TagPaper(id, tag string) error
- func (app *App) UntagBook(id, tag string) error
- func (app *App) UntagLink(id, tag string) error
- func (app *App) UntagPaper(id, tag string) error
- func (app *App) UpdateDocument(id, displayName, description, docType string) error
- func (app *App) UploadBook(path, name string) error
- func (app *App) UploadPapers(path, name string) error
- type Document
- type Link
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func (*App) CreateLink ¶
func (*App) DeleteDocument ¶
func (*App) DownloadBook ¶
func (*App) DownloadDocument ¶
func (*App) DownloadPaper ¶
func (*App) FindDocuments ¶
func (*App) FindPapers ¶
func (*App) GetAuthToken ¶
func (*App) SetConfigurationValue ¶
func (*App) UntagPaper ¶
func (*App) UpdateDocument ¶
func (*App) UploadBook ¶
func (*App) UploadPapers ¶
type Document ¶
type Document struct { ID string `json:"id" yaml:"id"` DisplayName string `json:"display_name" yaml:"display_name"` Name string `json:"name" yaml:"name"` Path string `json:"path" yaml:"-"` Type string `json:"type" yaml:"type"` Description string `json:"description" yaml:"description"` Tags []string `json:"tag_ids" yaml:"tags"` Created time.Time `json:"created" yaml:"created"` Updated *time.Time `json:"updated" yaml:"updated"` }
Click to show internal directories.
Click to hide internal directories.