fileserver

package
v0.0.0-...-7de69ae Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 11 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 {
	Port     int
	Path     string
	Dotfiles bool
	// contains filtered or unexported fields
}

Server wraps data used to start HTTP Server

func (*Server) Start

func (fs *Server) Start()

Start HTTP FileServer

func (*Server) TurnDownServer

func (fs *Server) TurnDownServer()

TurnDownServer is used to clean up after process is asked to exit

Jump to

Keyboard shortcuts

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