network

package module
v0.0.0-...-1c0bc75 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

README

API Service Network

The api service Network is the implementation of the network part from the unified api. The api service network is available in all Perinets Products.

This implementation does store its resources, e.g. NetworkInfo object or the ProductionInfo object persistently in the file system /var/lib/apiservice-network/ as json files.

References

Dual License

This software is by default licensed via the GNU Affero General Public License version 3. However it is also available with a commercial license on request (https://perinet.io/contact).

Documentation

Index

Constants

View Source
const (
	API_VERSION = "22"
)

Variables

This section is empty.

Functions

func Network_Info_Get

func Network_Info_Get(w http.ResponseWriter, r *http.Request)

func Network_Interface_Get

func Network_Interface_Get(w http.ResponseWriter, r *http.Request)

func Network_Interfaces_Get

func Network_Interfaces_Get(w http.ResponseWriter, r *http.Request)

func PathsGet

func PathsGet() []httpserver.Endpoint

Types

type NetworkInfo

type NetworkInfo struct {
	ApiVersion json.Number `json:"api_version"`
}

Jump to

Keyboard shortcuts

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