servers

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigHash   = hex.EncodeToString(configRawHash[:])
	ContentsHash = hex.EncodeToString(contentsRawHash[:])
)

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct{}

func (*HTTPServer) Config

func (server *HTTPServer) Config(w http.ResponseWriter, r *http.Request)

HTTP Server

func (*HTTPServer) Contents

func (server *HTTPServer) Contents(w http.ResponseWriter, r *http.Request)

func (*HTTPServer) Start

func (server *HTTPServer) Start()

type TFTPServer

type TFTPServer struct{}

func (*TFTPServer) ReadHandler

func (server *TFTPServer) ReadHandler(filename string, rf io.ReaderFrom) error

TFTP Server

func (*TFTPServer) Start

func (server *TFTPServer) Start()

Jump to

Keyboard shortcuts

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