etcd

package
v0.0.0-...-7cbb447 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(c *client.Client) *Service

func (*Service) Acquire

func (s *Service) Acquire(db string) (lock.Lock, error)

Acquire implements lock.Manager

func (*Service) Release

func (s *Service) Release(l lock.Lock) error

Release implements lock.Manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL