partials

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cached

type Cached struct {
	DB *sql.DB
	// contains filtered or unexported fields
}

func NewCached

func NewCached(db *sql.DB, validFor time.Duration) *Cached

func (*Cached) Get

func (pc *Cached) Get(name string) (string, error)

type Empty added in v0.3.0

type Empty struct{}

func (Empty) Get added in v0.3.0

func (e Empty) Get(name string) (string, error)

type Store

type Store interface {
	Get(name string) (string, error)
}

Jump to

Keyboard shortcuts

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