Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorizerFunc ¶
AuthorizerFunc is a function that return true if an HTTP request is authorized and returns false if it isn't.
See also:
type ReadWriterHandler ¶
type ReadWriterHandler struct {
RootDir string
AuthorizerFunc AuthorizerFunc
HTTPBodyReadSizeLimit int64
HTTPBodyReadTimeOut time.Duration
}
func (ReadWriterHandler) ServeHTTP ¶
func (receiver ReadWriterHandler) ServeHTTP(responseWriter http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.