createnet

package
v0.0.0-...-39cda13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNet

func CreateNet(nwid string, desc string, cidr string, todo string) bool

Types

type Data

type Data struct {
	IpAssignmentPools []IPAssign `json:"ipAssignmentPools"`
}

type IPAssign

type IPAssign struct {
	IpRangeStart string `json:"ipRangeStart"`
	IpRangeEnd   string `json:"ipRangeEnd"`
}

type PeerData

type PeerData struct {
	PeerID        string   `json:"id"`
	IPAssignments []string `json:"ipAssignments"`
}

type ThePeer

type ThePeer struct {
	PeerID string `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL