func DisableLogging()
DisableLogging disables custom logging
func EnableLogging()
EnableLogging enables custom logging
Mutex sync.RWMutex wrapper with logging to help debug lock related issues
type Mutex struct {
// contains filtered or unexported fields
}
func New(name string, vals ...interface{}) *Mutex
NewMutex creates a new Mutex
func (m *Mutex) Lock()
Lock starts write lock
func (m *Mutex) RLock()
RLock starts read lock
func (m *Mutex) RUnlock()
RUnlock releases read lock
func (m *Mutex) Unlock()
Unlock releases write lock