Documentation ¶
Index ¶
- type API
- func (api *API) AddBrowser(ctx context.Context, browser Browser) error
- func (api *API) DeleteBookmark(ctx context.Context, url string) error
- func (api *API) DeleteBrowser(ctx context.Context, id string) error
- func (api *API) GetBookmarks(ctx context.Context) ([]*Bookmark, error)
- func (api *API) GetBrowsers(ctx context.Context) ([]*Browser, error)
- func (api *API) StoreBookmark(ctx context.Context, bookmark Bookmark) (Bookmark, error)
- func (api *API) UpdateBookmark(ctx context.Context, originalURL string, bookmark Bookmark) error
- type Bookmark
- type BookmarksType
- type Browser
- type Database
- func (db Database) Close() error
- func (db *Database) DeleteBookmark(url string) error
- func (db *Database) DeleteBrowser(id string) error
- func (db *Database) GetBookmarks() ([]*Bookmark, error)
- func (db *Database) GetBrowsers() (rst []*Browser, err error)
- func (db *Database) InsertBrowser(browser Browser) (err error)
- func (db *Database) StoreBookmark(bookmark Bookmark) (Bookmark, error)
- func (db *Database) UpdateBookmark(originalURL string, bookmark Bookmark) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is class with methods available over RPC.
func (*API) DeleteBookmark ¶ added in v0.63.10
func (*API) GetBookmarks ¶ added in v0.63.10
func (*API) StoreBookmark ¶ added in v0.63.10
type BookmarksType ¶ added in v0.63.10
type BookmarksType string
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database sql wrapper for operations with browser objects.
func (*Database) DeleteBookmark ¶ added in v0.63.10
func (*Database) DeleteBrowser ¶
func (*Database) GetBookmarks ¶ added in v0.63.10
func (*Database) GetBrowsers ¶
func (*Database) InsertBrowser ¶
func (*Database) StoreBookmark ¶ added in v0.63.10
Click to show internal directories.
Click to hide internal directories.