Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadHandler ¶ added in v1.2.0
type DownloadHandler struct{}
func (*DownloadHandler) ServeHTTP ¶ added in v1.2.0
func (h *DownloadHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
type InfoHandler ¶
type InfoHandler struct {
Port int
}
func (*InfoHandler) ServeHTTP ¶
func (h *InfoHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
type PingHandler ¶ added in v0.20.0
type PingHandler struct { }
func (*PingHandler) ServeHTTP ¶ added in v0.20.0
func (h *PingHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
type ProxyHandler ¶
type ProxyHandler struct {
Stats *Stats
}
func (*ProxyHandler) ServeHTTP ¶
func (h *ProxyHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
type Stats ¶
func (*Stats) GetLatency ¶
type StatsHandler ¶
type StatsHandler struct {
Stats *Stats
}
func (*StatsHandler) ServeHTTP ¶
func (h *StatsHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
type UploadHandler ¶ added in v1.2.0
type UploadHandler struct{}
func (*UploadHandler) ServeHTTP ¶ added in v1.2.0
func (h *UploadHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.