Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlwaysLockMock ¶
type AlwaysLockMock struct {
// contains filtered or unexported fields
}
func (*AlwaysLockMock) Key ¶
func (l *AlwaysLockMock) Key() string
func (*AlwaysLockMock) Lost ¶
func (l *AlwaysLockMock) Lost() <-chan struct{}
func (*AlwaysLockMock) Release ¶
func (l *AlwaysLockMock) Release() error
type NoopOut ¶
type NoopOut struct { fx.Out TestSyncManager dsync.SyncManager `group:"dsync"` }
func ProvideNoopSyncManager ¶
func ProvideNoopSyncManager() NoopOut
type SimpleSyncManagerMock ¶
type SimpleSyncManagerMock struct{}
func (SimpleSyncManagerMock) Lock ¶
func (m SimpleSyncManagerMock) Lock(key string, _ ...dsync.LockOptions) (dsync.Lock, error)
Click to show internal directories.
Click to hide internal directories.