Documentation ¶
Index ¶
- type HTTPServer
- func (server *HTTPServer) Certificates(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) CertificatesHeaders(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) CertificatesRedirect(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) CertificatesRedirected(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) Config(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ConfigHeaders(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ConfigRedirect(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ConfigRedirected(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ConfigReplaceOriginalHeaders(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) Contents(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ContentsHeaders(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ContentsRedirect(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) ContentsRedirected(w http.ResponseWriter, r *http.Request)
- func (server *HTTPServer) Start()
- type TFTPServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct{}
func (*HTTPServer) Certificates ¶ added in v0.35.0
func (server *HTTPServer) Certificates(w http.ResponseWriter, r *http.Request)
func (*HTTPServer) CertificatesHeaders ¶ added in v0.35.0
func (server *HTTPServer) CertificatesHeaders(w http.ResponseWriter, r *http.Request)
func (*HTTPServer) CertificatesRedirect ¶ added in v0.35.0
func (server *HTTPServer) CertificatesRedirect(w http.ResponseWriter, r *http.Request)
CertificatesRedirect redirects the request to CertificatesRedirected
func (*HTTPServer) CertificatesRedirected ¶ added in v0.35.0
func (server *HTTPServer) CertificatesRedirected(w http.ResponseWriter, r *http.Request)
CertificatesRedirected validates the request from CertificatesRedirect
func (*HTTPServer) Config ¶
func (server *HTTPServer) Config(w http.ResponseWriter, r *http.Request)
HTTP Server
func (*HTTPServer) ConfigHeaders ¶ added in v0.35.0
func (server *HTTPServer) ConfigHeaders(w http.ResponseWriter, r *http.Request)
func (*HTTPServer) ConfigRedirect ¶ added in v0.35.0
func (server *HTTPServer) ConfigRedirect(w http.ResponseWriter, r *http.Request)
ConfigRedirect redirects the request to ConfigRedirected
func (*HTTPServer) ConfigRedirected ¶ added in v0.35.0
func (server *HTTPServer) ConfigRedirected(w http.ResponseWriter, r *http.Request)
ConfigRedirected validates the request from ConfigRedirect
func (*HTTPServer) ConfigReplaceOriginalHeaders ¶ added in v0.35.0
func (server *HTTPServer) ConfigReplaceOriginalHeaders(w http.ResponseWriter, r *http.Request)
ConfigReplaceOriginalHeaders validates that system headers were overwritten
func (*HTTPServer) Contents ¶
func (server *HTTPServer) Contents(w http.ResponseWriter, r *http.Request)
func (*HTTPServer) ContentsHeaders ¶ added in v0.35.0
func (server *HTTPServer) ContentsHeaders(w http.ResponseWriter, r *http.Request)
func (*HTTPServer) ContentsRedirect ¶ added in v0.35.0
func (server *HTTPServer) ContentsRedirect(w http.ResponseWriter, r *http.Request)
ContentsRedirect redirects the request to ContentsRedirected
func (*HTTPServer) ContentsRedirected ¶ added in v0.35.0
func (server *HTTPServer) ContentsRedirected(w http.ResponseWriter, r *http.Request)
ContentsRedirected validates the request from ContentsRedirect
func (*HTTPServer) Start ¶
func (server *HTTPServer) Start()
type TFTPServer ¶
type TFTPServer struct{}
func (*TFTPServer) ReadHandler ¶
func (server *TFTPServer) ReadHandler(filename string, rf io.ReaderFrom) error
TFTP Server
func (*TFTPServer) Start ¶
func (server *TFTPServer) Start()
Click to show internal directories.
Click to hide internal directories.