static

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Static

type Static struct {
	Root               string   `json:"root"`
	Index              []string `json:"index"`
	GenerateIndexPages bool     `json:"generate_index_pages"`
	AcceptByteRange    bool     `json:"byte_range"`
	// contains filtered or unexported fields
}

func (*Static) Handler

func (p *Static) Handler() fasthttp.RequestHandler

func (*Static) Init

func (p *Static) Init(c *middleware.Config) (err error)

func (*Static) Process

func (*Static) UnInit

func (p *Static) UnInit()

Jump to

Keyboard shortcuts

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