Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocator ¶
type Allocator struct { Allocated *NetResource // contains filtered or unexported fields }
func NewAllocator ¶
func NewAllocator() *Allocator
func (*Allocator) AllocPyHost ¶
func (al *Allocator) AllocPyHost() IAllocator
func (*Allocator) ApplyIP ¶
func (al *Allocator) ApplyIP() IAllocator
func (*Allocator) GenMac ¶
func (al *Allocator) GenMac() IAllocator
type IAllocator ¶
type IAllocator interface { ApplyIP() IAllocator GenMac() IAllocator AllocPyHost() IAllocator Done() (IResource, error) }
type NetResource ¶
func (*NetResource) ListAllocated ¶
func (nr *NetResource) ListAllocated()
Click to show internal directories.
Click to hide internal directories.