type Store struct { sync.Mutex Releaser func(string) Reserver func(string) // contains filtered or unexported fields }
func NewStore() *Store
func (s *Store) Release(label string)
func (s *Store) Reserve(label string) error