locker

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

Package locker provides locker interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker interface {
	LockContext(context.Context, time.Duration) error
	UnLock() error
	TryLock() error
	io.ReadWriteSeeker
	io.Closer
}

Directories

Path Synopsis
Package mock_locker is a generated GoMock package.
Package mock_locker is a generated GoMock package.

Jump to

Keyboard shortcuts

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