lib

package
v0.0.0-...-5927b00 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GOPATH = os.Getenv("GOPATH")

GOPATH is the root of the GOPATH environment.

View Source
var SCIONROOT = "src/github.com/scionproto/scion"

SCIONROOT is the root location on the scion infrastructure.

Functions

func ExtractBwtestRespData

func ExtractBwtestRespData(resp string, d *model.BwTestItem, start time.Time)

ExtractBwtestRespData will parse cmd line output from bwtester for adding BwTestItem fields.

func FindImageHandler

func FindImageHandler(w http.ResponseWriter, r *http.Request, browserAddr string, port int)

FindImageHandler locating most recent image formatting it for graphic display in response.

func FindImageInfoHandler

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

FindImageInfoHandler locating most recent image and writing text info data about it.

func GenClientNodeDefaults

func GenClientNodeDefaults(srcpath string)

GenClientNodeDefaults queries network interfaces and writes local client SCION addresses as json

func GenServerNodeDefaults

func GenServerNodeDefaults(srcpath string)

GenServerNodeDefaults creates server defaults for localhost testing

func GetBwByTimeHandler

func GetBwByTimeHandler(w http.ResponseWriter, r *http.Request, active bool, srcpath string)

GetBwByTimeHandler request the bwtest results stored since provided time.

func GetLocalIa

func GetLocalIa() string

GetLocalIa reads locally generated file for this IA's name, if written

func GetNodesHandler

func GetNodesHandler(w http.ResponseWriter, r *http.Request, srcpath string)

GetNodesHandler queries the local environment for user/default nodes.

func WriteBwtestCsv

func WriteBwtestCsv(bwtest *model.BwTestItem, srcpath string)

WriteBwtestCsv appends the bwtest data in csv-format to srcpath.

Types

This section is empty.

Jump to

Keyboard shortcuts

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