config

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListWatcherConfig

type ListWatcherConfig struct {
	DB          *gorm.DB
	RedisClient *redis.Client
	ResyncSec   int
}

func NewListWatcherConfig

func NewListWatcherConfig(db *db.DB, resyncSec int) *ListWatcherConfig

func (*ListWatcherConfig) NewStorage

func (c *ListWatcherConfig) NewStorage(
	watchKey string,
	listFunc storage.ListFunc,
	filterFunc storage.FilterFunc,
	pResyncSec *int,
	dataType datatype.DataType) storage.Storage

Jump to

Keyboard shortcuts

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