MCPcopy Create free account
hub / github.com/koding/kite / Scrubber

Struct Scrubber

dnode/scrubber.go:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "sync"
4
5type Scrubber struct {
6 // Next callback number.
7 // Incremented atomically by register().
8 seq uint64
9
10 // Reference to sent callbacks are saved in this map.
11 sync.Mutex // protects
12 callbacks map[uint64]func(*Partial)
13}
14
15// New returns a pointer to a new Scrubber.
16func NewScrubber() *Scrubber {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected