Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAddress ¶
type IPAddress struct {
// contains filtered or unexported fields
}
type IPTable ¶
type IPTable[T1 any] interface { GetIP(addr string) (T1, error) ClaimIP(addr string, data T1) error UpdateIP(addr string, data T1) error ReleaseIP(addr string) error GetIndex(index int) (T1, error) ClaimIndex(index int, data T1) (string, error) UpdateIndex(index int, data T1) error ReleaseIndex(index int) error ClaimRandomIP(data T1) (string, error) }
Click to show internal directories.
Click to hide internal directories.