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 GatewayCacheClient

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

func NewGatewayCacheClient

func NewGatewayCacheClient(redis redis.UniversalClient) (*GatewayCacheClient, error)

func (*GatewayCacheClient) Get

func (gcc *GatewayCacheClient) Get(ctx context.Context, gatewayID types.ID) (*types.Gateway, error)

type GatewayCacher

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

func NewGatewayCacher

func NewGatewayCacher() (*GatewayCacher, error)

func (*GatewayCacher) Run

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

Jump to

Keyboard shortcuts

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