keys

package
v0.2.29 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Version() []byte
	Tweets() []byte
	Tweet(id string) []byte
	TweetRatingIndexes() []byte
	TweetRatingPositiveIndexes() fdb.KeyRange
	TweetRatingIndex(ratingGrowSpeed float64, id string) []byte
	RequestLimits(id string, window time.Duration) []byte
	Requests(id string, window time.Duration, start time.Time) []byte
	RequestsByRequestLimits(id string, window time.Duration) []byte
	TweetUsernameRatingKey(username string) []byte
	TweetRatings() []byte
	SentTweet(link string) []byte
	EditingTweetShort(id string) []byte
	EditingTweetLong(id string) []byte
	EditingTweetsShort() []byte
	EditingTweetsLong() []byte
	TelegramSessionStorage() []byte
	TwitterAccount(login string) []byte
	TwitterAccounts() []byte
	Cookie(login string) []byte
	TweetCreationIndex(createdAt time.Time, id string) []byte
	TweetUntil(createdAt time.Time) fdb.KeyRange
}

func NewBuilder

func NewBuilder() Builder

type Prefix added in v0.1.5

type Prefix [2]byte

Jump to

Keyboard shortcuts

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