Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MuxHandler ¶
func MuxHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type ExternalServiceReponse ¶
type MuxErrorHandler ¶
type MuxErrorHandler struct {
// contains filtered or unexported fields
}
func NewMuxErrorHandler ¶
func NewMuxErrorHandler(mux http.Handler) *MuxErrorHandler
func (*MuxErrorHandler) ServeHTTP ¶
func (eh *MuxErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MuxHandleRequest ¶
type MuxHandleRequest struct {
Urls []string `json:"urls"`
}
type MuxHandleResponse ¶
type MuxHandleResponse struct {
Responses []ExternalServiceReponse `json:"responses"`
}
type MuxLimiter ¶
type MuxLimiter struct {
// contains filtered or unexported fields
}
func NewMuxLimiter ¶
func NewMuxLimiter(mux http.Handler) *MuxLimiter
func (*MuxLimiter) ServeHTTP ¶
func (ml *MuxLimiter) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.