Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultReapInterval = time.Second
)
Variables ¶
This section is empty.
Functions ¶
func SampleIndices ¶
Types ¶
type Cache ¶
type MultiLocker ¶
type MultiLocker interface { TryLock(interface{}) bool TryRLock(interface{}) bool Unlock(interface{}) RUnlock(interface{}) }
func NewMultiLocker ¶
func NewMultiLocker() MultiLocker
type Observable ¶
type Observable struct {
// contains filtered or unexported fields
}
func NewObservable ¶
func NewObservable() *Observable
func (*Observable) Emit ¶
func (o *Observable) Emit(evt string, args ...interface{})
func (*Observable) On ¶
func (o *Observable) On(evt string, cb interface{}) func()
type Unsubscriber ¶
type Unsubscriber func()
Click to show internal directories.
Click to hide internal directories.