MCPcopy Create free account
hub / github.com/goinaction/code / Locker

Interface Locker

chapter10/listing05/listing05.go:15–18  ·  view source on GitHub ↗

Locker provides support for locking and unlocking things.

Source from the content-addressed store, hash-verified

13
14// Locker provides support for locking and unlocking things.
15type Locker interface {
16 Lock()
17 Unlock()
18}
19
20// MoveLocker provides support for moving and locking things.
21type MoveLocker interface {

Callers 6

ReleaseMethod · 0.65
CloseMethod · 0.65
incCounterFunction · 0.65
ReleaseMethod · 0.65
CloseMethod · 0.65
incCounterFunction · 0.65

Implementers 1

bikechapter10/listing05/listing05.go

Calls

no outgoing calls

Tested by

no test coverage detected