static

package module
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader interface {
	Get(ctx context.Context, key, index string) ([]byte, string, error)
	Clear(ctx context.Context, key string) error
}

type S3

type S3 interface {
	GetObject(ctx context.Context, name string) ([]byte, error)
}

type Sequence

type Sequence struct {
	// contains filtered or unexported fields
}

func New

func New(rdb cache.RedisCache, s3 S3, stage string) *Sequence

func (*Sequence) Clear

func (c *Sequence) Clear(ctx context.Context, key string) error

func (*Sequence) Get

func (s *Sequence) Get(ctx context.Context, key, index string) ([]byte, string, error)

Jump to

Keyboard shortcuts

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