store

package
v0.0.191 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashMapJoinStorage

type HashMapJoinStorage[K comparable] struct {
	// contains filtered or unexported fields
}

func (*HashMapJoinStorage[K]) JoinValue

func (s *HashMapJoinStorage[K]) JoinValue(key K, index int, value interface{}, f JoinValueFunc)

func (*HashMapJoinStorage[K]) Start

func (s *HashMapJoinStorage[K]) Start(ctx context.Context) error

func (*HashMapJoinStorage[K]) Stop

func (s *HashMapJoinStorage[K]) Stop(ctx context.Context)

type Item

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

type JoinStorage

type JoinStorage[K comparable] interface {
	Storage
	JoinValue(key K, index int, value interface{}, f JoinValueFunc)
}

type JoinStorageConfig added in v0.0.150

type JoinStorageConfig interface {
	GetTTL() time.Duration
	GetRenewTTL() bool
	GetName() string
}

type JoinValueFunc

type JoinValueFunc func(values [][]interface{}) bool

type Storage

type Storage interface {
	Start(ctx context.Context) error
	Stop(ctx context.Context)
}

Jump to

Keyboard shortcuts

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