cache

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	Context context.Context

	DB *sql.DB
}

func NewSystem

func NewSystem() *System

func (*System) Get

func (s *System) Get(name string) (bool, bool)

func (*System) GetAll

func (s *System) GetAll() ([]flag.FeatureFlag, error)

func (*System) InitDB

func (s *System) InitDB() error

func (*System) Refresh

func (s *System) Refresh(flags []flag.FeatureFlag, intervalAllowed int) error

func (*System) SetContext

func (s *System) SetContext(ctx context.Context)

func (*System) ShouldRefreshCache

func (s *System) ShouldRefreshCache() bool

Jump to

Keyboard shortcuts

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