memory

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(config map[string]interface{}) source.Source

Types

type Memory

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

func (*Memory) Has

func (e *Memory) Has(ctx context.Context, key string) (bool, error)

func (*Memory) Scan

func (e *Memory) Scan(ctx context.Context, key string, value interface{}) error

func (*Memory) Watch added in v1.1.0

func (e *Memory) Watch(ctx context.Context, key string, callback func(event source.Event)) error

Jump to

Keyboard shortcuts

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