Documentation ¶
Overview ¶
Package info implements the info map that is used to distribute key–value pair between debugd instances.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInfoAlreadySet = errors.New("info already set")
ErrInfoAlreadySet is returned if the info map has already been set.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map is a thread-safe map of info, with triggers that are run when the map is set.
func (*Map) RegisterOnReceiveTrigger ¶
RegisterOnReceiveTrigger registers a function that is called when the info map is set. The function mustn't block or be long-running.
Click to show internal directories.
Click to hide internal directories.