Documentation ¶
Overview ¶
Package tag provides the /tags APIs
Index ¶
- Constants
- func Delete(ctx context.Context, tagId string) error
- func Get(ctx context.Context, tagId string, params *trimmer.TagParams) (*trimmer.Tag, error)
- func ParseTagLabel(s string) trimmer.TagLabel
- func Reply(ctx context.Context, tagId string, params *trimmer.TagParams) (*trimmer.Tag, error)
- func Update(ctx context.Context, tagId string, params *trimmer.TagParams) (*trimmer.Tag, error)
- type Client
- func (c Client) Delete(ctx context.Context, tagId string) error
- func (c Client) Get(ctx context.Context, tagId string, params *trimmer.TagParams) (*trimmer.Tag, error)
- func (c Client) ListReplies(ctx context.Context, tagId string, params *trimmer.TagListParams) *Iter
- func (c Client) Reply(ctx context.Context, tagId string, params *trimmer.TagParams) (*trimmer.Tag, error)
- func (c Client) Update(ctx context.Context, tagId string, params *trimmer.TagParams) (*trimmer.Tag, error)
- type Iter
Constants ¶
View Source
const ( TagLabelUndefined trimmer.TagLabel = "" TagLabelBlack trimmer.TagLabel = "black" TagLabelChapter trimmer.TagLabel = "chapter" TagLabelComment trimmer.TagLabel = "comment" TagLabelEvent trimmer.TagLabel = "event" TagLabelFavorite trimmer.TagLabel = "favorite" TagLabelFrameData trimmer.TagLabel = "framedata" TagLabelKeyword trimmer.TagLabel = "keyword" TagLabelLds trimmer.TagLabel = "lds" TagLabelNote trimmer.TagLabel = "note" TagLabelOrganization trimmer.TagLabel = "organization" TagLabelPerson trimmer.TagLabel = "person" TagLabelPlace trimmer.TagLabel = "place" TagLabelProduct trimmer.TagLabel = "product" TagLabelQuote trimmer.TagLabel = "quote" TagLabelRating trimmer.TagLabel = "rating" TagLabelScenecut trimmer.TagLabel = "scenecut" TagLabelSilence trimmer.TagLabel = "silence" TagLabelTask trimmer.TagLabel = "task" TagLabelText trimmer.TagLabel = "text" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Reply ¶
Types ¶
type Client ¶
Client is used to invoke /users APIs.
func (Client) Get ¶
func (Client) ListReplies ¶
func (Client) Reply ¶
Click to show internal directories.
Click to hide internal directories.