Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Access ¶
func Access(accessLogger AccessLogger, host string, port uint32) func(HttpHandler) *AccessHandler
Types ¶
type AccessHandler ¶
type AccessHandler struct {
// contains filtered or unexported fields
}
func (*AccessHandler) ServeHTTP ¶
func (h *AccessHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)
type AccessLogger ¶
type HttpHandler ¶
type HttpHandler interface {
ServeHTTP(http.ResponseWriter, *http.Request)
}
Click to show internal directories.
Click to hide internal directories.