mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-12 08:23:58 +02:00
15 lines
247 B
Go
15 lines
247 B
Go
|
// Package handler provides http handlers
|
||
|
package handler
|
||
|
|
||
|
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
|
||
|
}
|