Documentation ¶ Index ¶ func Generate(prefix string, len int) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(prefix string, len int) (string, error) Generate returns an interface name using the passed in prefix and the length of random bytes. The api ensures that the there are is no interface which exists with that name. Types ¶ This section is empty. Source Files ¶ View all Source files ifname.go Click to show internal directories. Click to hide internal directories.