Documentation ¶
Index ¶
Constants ¶
View Source
const (
DELETED = "marked as deleted"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextMapper ¶
type ContextMapper interface { Exists(interface{}) (interface{}, bool) Add(interface{}, interface{}) interface{} Delete(interface{}) }
contextMapper implements the lockless map interface.
func NewcontextMapper ¶
func NewcontextMapper(ctx context.Context) (ContextMapper, context.CancelFunc)
NewcontextMapper returns a new instance of implementing contextMapper interface.
type ImutMap ¶
type ImutMap baseMap
type ImutMapper ¶
type ImutMapper interface { Exists(interface{}) (interface{}, bool, IntfMap) Add(interface{}, interface{}) IntfMap Delete(interface{}) }
func NewImutMapper ¶
func NewImutMapper(ctx context.Context) (ImutMapper, context.CancelFunc)
NewImutMapper returns a new instance of implementing ImutMapper interface.
Click to show internal directories.
Click to hide internal directories.