handler

package
v0.0.0-...-39125e7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoMeasurementID = errors.New("no measurement ID specified in the request")

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler handles the msak subtests.

func New

func New(dataDir string) *Handler

New creates a new Handler.

func (*Handler) Download

func (h *Handler) Download(rw http.ResponseWriter, req *http.Request)

Download handles the download subtest.

func (*Handler) Upload

func (h *Handler) Upload(rw http.ResponseWriter, req *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