2019-06-03 18:44:43 +01:00
|
|
|
// Package handler provides http handlers
|
2021-10-02 19:55:07 +03:00
|
|
|
package handler // import "go.unistack.org/micro/v3/api/handler"
|
2019-06-03 18:44:43 +01:00
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Handler represents a HTTP handler that manages a request
|
|
|
|
type Handler interface {
|
|
|
|
// standard http handler
|
|
|
|
http.Handler
|
|
|
|
// name of handler
|
|
|
|
String() string
|
|
|
|
}
|