server

package
v0.0.0-...-30ba9ae Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: BSD-2-Clause-Views Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Fs ffs.Fs
}

func (Server) ReadHTTP

func (srv Server) ReadHTTP(w http.ResponseWriter, r *http.Request, path string) (file ffs.File, err error)

func (Server) Serve9P

func (srv Server) Serve9P(s *styx.Session)

func (Server) ServeHTTP

func (srv Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (Server) WriteHTTP

func (srv Server) WriteHTTP(w http.ResponseWriter, r *http.Request, path string) (content ffs.Writer, err error)

Jump to

Keyboard shortcuts

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