fileserver

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Component = &FileServer{}

Functions

This section is empty.

Types

type FileServer

type FileServer struct{}

func (*FileServer) Handler

func (fs *FileServer) Handler(handler http.HandlerFunc) http.HandlerFunc

func (*FileServer) NeedHandler

func (fs *FileServer) NeedHandler() bool

func (*FileServer) Start

func (fs *FileServer) Start()

func (*FileServer) StartHost added in v1.5.1

func (fs *FileServer) StartHost(host *config.Host)

Jump to

Keyboard shortcuts

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