Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLockBroker ¶ added in v0.1.2
func RegisterLockBroker ¶ added in v0.1.2
func RegisterLockBroker(name string, broker lockBroker)
Types ¶
type LockBroker ¶ added in v0.1.1
func NewLockBroker ¶ added in v0.1.1
func NewLockBroker( lg *slog.Logger, cfg *v1alpha1.LockServerConfig, tracer trace.Tracer, ) LockBroker
func (LockBroker) LockManager ¶ added in v0.1.1
func (l LockBroker) LockManager(ctx context.Context) (lock.LockManager, error)
LockManager blocks until it acquires the client connection, or returns an error when an unrecoverable error is hit
Click to show internal directories.
Click to hide internal directories.