Documentation ¶
Index ¶
- Variables
- func ExtractBwtestRespData(resp string, d *model.BwTestItem, start time.Time)
- func FindImageHandler(w http.ResponseWriter, r *http.Request, browserAddr string, port int)
- func FindImageInfoHandler(w http.ResponseWriter, r *http.Request)
- func GenClientNodeDefaults(srcpath string)
- func GenServerNodeDefaults(srcpath string)
- func GetBwByTimeHandler(w http.ResponseWriter, r *http.Request, active bool, srcpath string)
- func GetLocalIa() string
- func GetNodesHandler(w http.ResponseWriter, r *http.Request, srcpath string)
- func WriteBwtestCsv(bwtest *model.BwTestItem, srcpath string)
Constants ¶
This section is empty.
Variables ¶
var GOPATH = os.Getenv("GOPATH")
GOPATH is the root of the GOPATH environment.
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 ¶
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 ¶
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.