messageposition

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockSize       int64 = 256
	CacheTTLSeconds int64 = 60 * 60 * 24 * 30
	LockTTLSeconds  int64 = 5
)

Variables

This section is empty.

Functions

func CurrentKey

func CurrentKey(channelID int64) string

func LockKey

func LockKey(channelID int64) string

func Next

func Next(ctx context.Context, c cache.Cache, store channelStore, channelID int64) (int64, error)

func ReservedMaxKey

func ReservedMaxKey(channelID int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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