Update comments
This commit is contained in:
parent
b887d91f94
commit
c697eed1be
@ -1,4 +1,4 @@
|
|||||||
// Package sync is a distributed synchronization framework
|
// Package sync is an interface for distributed synchronization
|
||||||
package sync
|
package sync
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -10,7 +10,7 @@ var (
|
|||||||
ErrLockTimeout = errors.New("lock timeout")
|
ErrLockTimeout = errors.New("lock timeout")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Sync is an interface for synchronization
|
// Sync is an interface for distributed synchronization
|
||||||
type Sync interface {
|
type Sync interface {
|
||||||
// Initialise options
|
// Initialise options
|
||||||
Init(...Option) error
|
Init(...Option) error
|
||||||
|
Loading…
Reference in New Issue
Block a user