cached_export

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFound = errors.New("cached url not found")

Functions

This section is empty.

Types

type Model

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

func NewModel

func NewModel(db *m.Database) Model

func (Model) Get

func (m Model) Get(ctx context.Context, query *parser.GetV2Request) (s3URL string, err error)

func (Model) Set

func (m Model) Set(ctx context.Context, query *parser.GetV2Request, s3URL string) (err error)

Jump to

Keyboard shortcuts

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