cacher

package
v0.0.0-...-1196ed7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Types

type MapperCacheClient

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

func NewMapperCacheClient

func NewMapperCacheClient(redis redis.UniversalClient) (*MapperCacheClient, error)

func (*MapperCacheClient) Get

func (gcc *MapperCacheClient) Get(ctx context.Context, mapperID types.ID) (*types.Mapper, error)

type MapperCacher

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

func NewMapperCacher

func NewMapperCacher() (*MapperCacher, error)

func (*MapperCacher) Run

func (gc *MapperCacher) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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