Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ERROR_KEY_NOT_FOUND = fmt.Errorf("provided key does not exist")
Functions ¶
This section is empty.
Types ¶
type EventMap ¶
type EventMap[DT, MT any] interface { Get(key string) (data DT, metadata event.Metadata[MT], err error) Exists(key string) (exists bool) Len() (l int) Keys() (keys []string) Range(f func(key, value any) bool) Delete(data DT, metadata MT) (err error) Set(key string, data DT, metadata MT) (err error) }
Click to show internal directories.
Click to hide internal directories.