Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data json.RawMessage `json:"data"`
}
type Card ¶
type Card struct {
ID string `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
ArticleTitle string `json:"article_title"`
Domain string `json:"domain"`
Type string `json:"type"`
Tags []string `json:"tags"`
URL string `json:"url"`
CuboxURL string `json:"cubox_url"`
WordsCount int `json:"words_count"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`
Highlights []Highlight `json:"highlights"`
}
type CardFilterRequest ¶
type CardFilterRequest struct {
GroupFilters []string `json:"group_filters,omitempty"`
TypeFilters []string `json:"type_filters,omitempty"`
TagFilters []string `json:"tag_filters,omitempty"`
Starred *bool `json:"starred,omitempty"`
Read *bool `json:"read,omitempty"`
Annotated *bool `json:"annotated,omitempty"`
LastCardID string `json:"last_card_id,omitempty"`
LastCardUpdate string `json:"last_card_update_time,omitempty"`
Limit int `json:"limit,omitempty"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FilterCards ¶
func (c *Client) FilterCards(req *CardFilterRequest) ([]Card, error)
func (*Client) ListGroups ¶
Click to show internal directories.
Click to hide internal directories.