brbundle: go.pyspa.org/brbundle/websupport Index | Files

package websupport

import "go.pyspa.org/brbundle/websupport"

Index

Package Files

comment.go websupport.go

Constants

const DefaultQValue = 1.0

func FindFile Uses

func FindFile(p string, o brbundle.WebOption) (file brbundle.FileEntry, found, redirectDir bool)

func GetContent Uses

func GetContent(file brbundle.FileEntry, o brbundle.WebOption, acceptEncoding string) (reader io.ReadCloser, etag string, headers [][2]string, err error)

func HasSupportBrotli Uses

func HasSupportBrotli(s string) bool

based on https://github.com/NYTimes/gziphandler/blob/master/gzip.go

func InitOption Uses

func InitOption(options []brbundle.WebOption) brbundle.WebOption

func MakeCommentString Uses

func MakeCommentString(compressorFlag, filePath string, info os.FileInfo) string

Package websupport imports 8 packages (graph) and is imported by 5 packages. Updated 2019-05-15. Refresh now. Tools for package owners.