Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortIdentifier ¶
type PortIdentifier uint64
type VSwitch ¶
type VSwitch struct { sync.Mutex Name string IdleDuration time.Duration // contains filtered or unexported fields }
func (*VSwitch) AddPort ¶
func (s *VSwitch) AddPort(receiveChan chan<- []byte, sendChan <-chan []byte) PortIdentifier
func (*VSwitch) RemovePort ¶
func (s *VSwitch) RemovePort(ID PortIdentifier) bool
func (*VSwitch) StopAndRemovePorts ¶
func (s *VSwitch) StopAndRemovePorts()
Click to show internal directories.
Click to hide internal directories.