Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP4Ftp ¶
type HTTP4Ftp struct { Addr string `json:"addr"` User string `json:"user"` Pass string `json:"pass"` DialTimeout time.Duration `json:"dial_timeout"` DisabledEPSV bool `json:"disable_epsv"` DisabledMLSD bool `json:"disable_mlsd"` DisableUTF8 bool `json:"disable_utf8"` }
func (HTTP4Ftp) CaddyModule ¶
func (h4f HTTP4Ftp) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*HTTP4Ftp) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: Specifying the formats on the first line will use those formats' defaults.
type ResponseWriter ¶
type ResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*ResponseWriter) Write ¶
func (rw *ResponseWriter) Write(p []byte) (int, error)
Here we are implementing a Write() function from ResponseWriter with our custom instructions.
func (*ResponseWriter) WriteHeader ¶
func (rw *ResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.