status

package
v0.17.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL