 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 OverwriteableFile ¶
type PortAllocator ¶
type PortAllocator struct {
	Tracker    tracker
	Serializer serializer
	Locker     fileLocker
}
    func (*PortAllocator) AllocatePort ¶
func (p *PortAllocator) AllocatePort(handle string, port int) (int, error)
func (*PortAllocator) ReleaseAllPorts ¶
func (p *PortAllocator) ReleaseAllPorts(handle string) error
type Serializer ¶
type Serializer struct{}
    func (*Serializer) DecodeAll ¶
func (s *Serializer) DecodeAll(file io.ReadSeeker, outData interface{}) error
func (*Serializer) EncodeAndOverwrite ¶
func (s *Serializer) EncodeAndOverwrite(file OverwriteableFile, outData interface{}) error
 Click to show internal directories. 
   Click to hide internal directories.