Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubjectLock ¶
type SubjectLock struct {
// contains filtered or unexported fields
}
SubjectLock creates an atomic lock on a specific subject
func NewSubjectLock ¶
func NewSubjectLock() *SubjectLock
func (*SubjectLock) Lock ¶
func (r *SubjectLock) Lock(subject string)
func (*SubjectLock) Unlock ¶
func (r *SubjectLock) Unlock(subject string)
Click to show internal directories.
Click to hide internal directories.