Documentation ¶
Index ¶
- func HandleHTTPBLLookup(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry) httpHandler
- func HandleHTTPDefault(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry) httpHandler
- func HandleHTTPGeoLookup(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry) httpHandler
- func HandleHTTPRedirector(cfg runtime.NSnitchConfig, rt *runtime.Runtime, d *runtime.ServerDomain, ...) httpHandler
- func HandleHTTPReport(cfg runtime.NSnitchConfig, rt *runtime.Runtime, d *runtime.ServerDomain, ...) httpHandler
- func HandleHTTPSpeedtest(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry) httpHandler
- func HandleHTTPStatsLookup(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry) httpHandler
- func HandleHTTPStatus(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry) httpHandler
- func HandleHTTPWellKnown(cfg runtime.NSnitchConfig, rt *runtime.Runtime, lgr *logrus.Entry, path string, ...) httpHandler
- type BLLookupError
- type GeoLookupError
- type StatsLookupError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleHTTPBLLookup ¶
func HandleHTTPDefault ¶
func HandleHTTPGeoLookup ¶
func HandleHTTPRedirector ¶
func HandleHTTPRedirector(cfg runtime.NSnitchConfig, rt *runtime.Runtime, d *runtime.ServerDomain, lgr *logrus.Entry) httpHandler
func HandleHTTPReport ¶
func HandleHTTPReport(cfg runtime.NSnitchConfig, rt *runtime.Runtime, d *runtime.ServerDomain, lgr *logrus.Entry) httpHandler
func HandleHTTPSpeedtest ¶
func HandleHTTPStatsLookup ¶
func HandleHTTPStatus ¶
Types ¶
type BLLookupError ¶
type BLLookupError struct { Code int // contains filtered or unexported fields }
func (*BLLookupError) Error ¶
func (e *BLLookupError) Error() string
type GeoLookupError ¶
type GeoLookupError struct { Code int // contains filtered or unexported fields }
func (*GeoLookupError) Error ¶
func (e *GeoLookupError) Error() string
type StatsLookupError ¶
type StatsLookupError struct { Code int // contains filtered or unexported fields }
func (*StatsLookupError) Error ¶
func (e *StatsLookupError) Error() string
Click to show internal directories.
Click to hide internal directories.