Documentation ¶
Overview ¶
Package status represents status filters managed by the user through the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHideStatus = errors.New("hide status")
ErrHideStatus indicates that a status has been filtered and should not be returned at all.
Functions ¶
This section is empty.
Types ¶
type FilterContext ¶
type FilterContext string
FilterContext determines the filters that apply to a given status or list of statuses.
const ( // FilterContextNone means no filters should be applied. // There are no filters with this context; it's for internal use only. FilterContextNone FilterContext = "" // FilterContextHome means this status is being filtered as part of a home or list timeline. FilterContextHome FilterContext = "home" // FilterContextNotifications means this status is being filtered as part of the notifications timeline. FilterContextNotifications FilterContext = "notifications" // FilterContextPublic means this status is being filtered as part of a public or tag timeline. FilterContextPublic FilterContext = "public" // FilterContextThread means this status is being filtered as part of a thread's context. FilterContextThread FilterContext = "thread" // FilterContextAccount means this status is being filtered as part of an account's statuses. FilterContextAccount FilterContext = "account" )
Click to show internal directories.
Click to hide internal directories.