handler

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package handler implements the WebSocket handler for ndt7.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// DataDir is the directory where results are saved.
	DataDir string
}

Handler handles ndt7 subtests.

func (Handler) Download

func (h Handler) Download(writer http.ResponseWriter, request *http.Request)

Download handles the download subtest.

func (Handler) Upload

func (h Handler) Upload(writer http.ResponseWriter, request *http.Request)

Upload handles the upload subtest.

Jump to

Keyboard shortcuts

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