Documentation
¶
Index ¶
- type Processor
- func (p *Processor) Follow(ctx context.Context, account *gtsmodel.Account, name string) (*apimodel.Tag, gtserror.WithCode)
- func (p *Processor) Followed(ctx context.Context, accountID string, page *paging.Page) (*apimodel.PageableResponse, gtserror.WithCode)
- func (p *Processor) Get(ctx context.Context, account *gtsmodel.Account, name string) (*apimodel.Tag, gtserror.WithCode)
- func (p *Processor) Unfollow(ctx context.Context, account *gtsmodel.Account, name string) (*apimodel.Tag, gtserror.WithCode)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func (*Processor) Follow ¶
func (p *Processor) Follow( ctx context.Context, account *gtsmodel.Account, name string, ) (*apimodel.Tag, gtserror.WithCode)
Follow follows the tag with the given name as the given account. If there is no tag with that name, it creates a tag.
func (*Processor) Followed ¶
func (p *Processor) Followed( ctx context.Context, accountID string, page *paging.Page, ) (*apimodel.PageableResponse, gtserror.WithCode)
Followed gets the user's list of followed tags.
Click to show internal directories.
Click to hide internal directories.