Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	sync.Mutex

	Releaser func(string)
	Reserver func(string)
	// contains filtered or unexported fields
}

func NewStore

func NewStore() *Store

func (*Store) Release

func (s *Store) Release(label string)

func (*Store) Reserve

func (s *Store) Reserve(label string) error

Source Files