 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ErrorPortPoolExhausted = errors.New("port pool exhausted")
    Functions ¶
This section is empty.
Types ¶
type PortAllocator ¶
type PortAllocator struct {
	Tracker    tracker
	Serializer serial.Serializer
	Locker     filelock.FileLocker
}
    func (*PortAllocator) AllocatePort ¶
func (p *PortAllocator) AllocatePort(handle string, port int) (int, error)
func (*PortAllocator) ReleaseAllPorts ¶
func (p *PortAllocator) ReleaseAllPorts(handle string) error
 Click to show internal directories. 
   Click to hide internal directories.