mux

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lock

func Lock(t Type) (*etcdsync.DLock, error)

func Try

func Try(t Type) (*etcdsync.DLock, error)

Types

type Type

type Type string
const (
	GlobalLock       Type = "/cse-sr/lock/global"
	DepQueueLock     Type = "/cse-sr/lock/dep-queue"
	ServiceClearLock Type = "/cse-sr/lock/service-clear"
)

func (*Type) String

func (m *Type) String() (s string)

Jump to

Keyboard shortcuts

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