cache

package
v1.1.19 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connection added in v1.1.14

func Connection(name string) cache.Store

func NewDriver added in v1.1.14

func NewDriver(ctx context.Context, name string) (cache.Store, error)

func NewRedisCache added in v1.1.14

func NewRedisCache(ctx context.Context, name string) (cache.Store, error)

Types

type Application

type Application struct {
}

func (*Application) Init

func (app *Application) Init() cache.Store

type Cache added in v1.1.14

type Cache struct {
	cache.Store
	Name string
	// contains filtered or unexported fields
}

func NewCache added in v1.1.14

func NewCache(name string) *Cache

func (*Cache) Connection added in v1.1.14

func (s *Cache) Connection(name string) cache.Store

type ServiceProvider

type ServiceProvider struct {
}

func (*ServiceProvider) Boot

func (database *ServiceProvider) Boot()

func (*ServiceProvider) Register

func (database *ServiceProvider) Register()

Directories

Path Synopsis
stores

Jump to

Keyboard shortcuts

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