DirectoryBrowse

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryBrowseType

type DirectoryBrowseType struct {
	Next         http.Handler //
	Paths        []string     // thins directory browsing is enabled for -- Paths that are served with a directory index
	TemplateName string       // Template Name
	TemplateRoot []string     // Set of Root Directories for templates
	LineNo       int
}

func NewDirectoryBrowseServer

func NewDirectoryBrowseServer(n http.Handler, p []string, m string, r []string) *DirectoryBrowseType

func (*DirectoryBrowseType) InitializeWithConfigData

func (hdlr *DirectoryBrowseType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)

func (*DirectoryBrowseType) PreValidate

func (hdlr *DirectoryBrowseType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)

func (DirectoryBrowseType) ServeHTTP

func (hdlr DirectoryBrowseType) ServeHTTP(www http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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