www

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertPathSeparator added in v1.0.4

func ConvertPathSeparator(path string) string

Types

type PathIterator added in v1.0.4

type PathIterator struct {
	// contains filtered or unexported fields
}

func NewPathIterator added in v1.0.4

func NewPathIterator(path string) *PathIterator

func (*PathIterator) Next added in v1.0.4

func (it *PathIterator) Next() string

type WebServer

type WebServer struct {
	Wwwroot    string   `json:"wwwroot"`
	Index      []string `json:"index"`
	EmbeddedFS *embed.FS
}

func (*WebServer) WebServerHandller

func (webserver *WebServer) WebServerHandller(w http.ResponseWriter, r *http.Request)

func (*WebServer) WriteFile

func (webserver *WebServer) WriteFile(w http.ResponseWriter, r *http.Request, filepath string, f []byte)

Jump to

Keyboard shortcuts

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