Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
type Add struct { *Protocol *ProtocolTags RefId int Title string URL string }
func FactoryAdd ¶
func (*Add) MarshalJSON ¶
type Archive ¶
type Archive struct {
*Protocol
}
func FactoryArchive ¶
func NewArchive ¶
func (*Archive) MarshalJSON ¶
type Favorite ¶
type Favorite struct {
*Protocol
}
func FactoryFavorite ¶
func NewFavorite ¶
func (*Favorite) MarshalJSON ¶
type ProtocolTags ¶
type ProtocolTags struct {
Tags string `json:"tags,omitempty"`
}
func (*ProtocolTags) SetTags ¶
func (a *ProtocolTags) SetTags(tags []string) *ProtocolTags
type TagsAdd ¶
type TagsAdd struct { *Protocol *ProtocolTags }
func FactoryTagsAdd ¶
func NewTagsAdd ¶
func NewTagsAdd(p *Protocol, pt *ProtocolTags) *TagsAdd
func (*TagsAdd) MarshalJSON ¶
type TagsClear ¶
type TagsClear struct {
*Protocol
}
func FactoryTagsClear ¶
func NewTagsClear ¶
func (*TagsClear) MarshalJSON ¶
type TagsRemove ¶
type TagsRemove struct { *Protocol *ProtocolTags }
func FactoryTagsRemove ¶
func FactoryTagsRemove(id int, tags []string) *TagsRemove
func NewTagsRemove ¶
func NewTagsRemove(p *Protocol, pt *ProtocolTags) *TagsRemove
func (*TagsRemove) MarshalJSON ¶
func (a *TagsRemove) MarshalJSON() ([]byte, error)
type TagsRename ¶
func FactoryTagsRename ¶
func FactoryTagsRename(id int, oldTag, newTag string) *TagsRename
func NewTagsRename ¶
func NewTagsRename(p *Protocol, oldTag, newTag string) *TagsRename
func (*TagsRename) MarshalJSON ¶
func (a *TagsRename) MarshalJSON() ([]byte, error)
type TagsReplace ¶
type TagsReplace struct { *Protocol *ProtocolTags }
func FactoryTagsReplace ¶
func FactoryTagsReplace(id int, tags []string) *TagsReplace
func NewTagsReplace ¶
func NewTagsReplace(p *Protocol, pt *ProtocolTags) *TagsReplace
func (*TagsReplace) MarshalJSON ¶
func (a *TagsReplace) MarshalJSON() ([]byte, error)
type Unfavorite ¶
type Unfavorite struct {
*Protocol
}
func FactoryUnfavorite ¶
func FactoryUnfavorite(id int) *Unfavorite
func NewUnfavorite ¶
func NewUnfavorite(p *Protocol) *Unfavorite
func (*Unfavorite) MarshalJSON ¶
func (a *Unfavorite) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.