Documentation ¶ Index ¶ func NewSource(config map[string]interface{}) source.Source type Memory func (e *Memory) Has(ctx context.Context, key string) (bool, error) func (e *Memory) Scan(ctx context.Context, key string, value interface{}) error func (e *Memory) Watch(ctx context.Context, key string, callback func(event source.Event)) error 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 Source Files ¶ View all Source files memory.go Click to show internal directories. Click to hide internal directories.