Versions in this module Expand all Collapse all v1 v1.0.1 Oct 17, 2020 Changes in this version + func RecFromServiceRec(r *netpb.Log_Record) *apipb.Record + func RecToServiceRec(r *apipb.Record) *netpb.Log_Record + type Semaphore struct + func NewSemaphore(capacity int) *Semaphore + func (s *Semaphore) Acquire() + func (s *Semaphore) Release() + func (s *Semaphore) TryAcquire() bool + type SemaphoreKey interface + Key func() string + type SemaphorePool struct + func NewSemaphorePool(semaCap int) *SemaphorePool + func (p *SemaphorePool) Get(k SemaphoreKey) *Semaphore + func (p *SemaphorePool) Stop()