static

package
v3.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

File built without static files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash added in v3.5.0

func Hash(string) string

func ServeHTTP added in v3.5.0

func ServeHTTP(http.ResponseWriter, *http.Request)

Types

type FilesServer

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

func NewFilesServer

func NewFilesServer(baseHRef string, hsts bool, xframeOpts string, corsAllowOrigin string) *FilesServer

func (*FilesServer) ServerFiles

func (s *FilesServer) ServerFiles(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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