cache

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

Cache encapsulates the entire cache application state.

func NewApp

func NewApp(ctx context.Context, cfg config.Config, probe liveness.Prober) (cache *Cache, err error)

NewApp builds a new Cache app.

func (*Cache) IsAlive

func (c *Cache) IsAlive(_ context.Context) bool

func (*Cache) Start

func (c *Cache) Start(gsh shutdown.Gracefuller) error

Start runs the cache server and probes, handles shutdown.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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