Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderLastModified = "Last-Modified" HeaderIfModifiedSince = "If-Modified-Since" )
http headers
View Source
const (
HeaderCacheControl = "Cache-Control"
)
http headers
View Source
const (
HeaderContentType = "Content-Type"
)
http headers
Variables ¶
View Source
var ( ErrorUnexpectedWrittenStatus2 = errutil.NewFactory("expect written status is %v but got %v") ErrorUnexpectedStatusCode2 = errutil.NewFactory("expect status code is %v but got %v") )
errors
View Source
var (
ErrorUnsupportedCacheControlType1 = errutil.NewFactory("unsupported cache-control type: %v")
)
errors
Functions ¶
This section is empty.
Types ¶
type OptionErrorPathTrimPrefix ¶
type OptionErrorPathTrimPrefix string
OptionErrorPathTrimPrefix prefix will be trim in error path
type OptionMaxBufferSize ¶
type OptionMaxBufferSize int64
OptionMaxBufferSize max buffer size for render, default: 1 MB
Click to show internal directories.
Click to hide internal directories.