handler

package
v0.0.0-...-8a59038 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGetAllHandler

func CreateGetAllHandler(caller Downloader, encode codec.EncoderFunc) http.HandlerFunc

CreateGetAllHandler creates an HTTP handler to return the entire port list. TODO: proper error handling.

Types

type Downloader

type Downloader interface {
	DownloadStream(ctx context.Context, stream chan<- *proto.Payload) error
}

Downloader interface.

Jump to

Keyboard shortcuts

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