mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-30 22:33:49 +02:00
.github
agent
api
handler
api
broker
cloudevents
event
file
http
registry
rpc
udp
unix
web
handler.go
options.go
internal
proto
resolver
router
server
api.go
api_test.go
auth
broker
client
codec
config
debug
errors
metadata
monitor
network
plugin
proxy
registry
router
runtime
server
service
store
sync
transport
tunnel
util
web
.gitignore
.golangci.yml
.travis.yml
CNAME
Dockerfile
LICENSE
README.md
README.zh-cn.md
_config.yml
defaults.go
event.go
function.go
function_test.go
go.mod
go.sum
micro.go
options.go
service.go
service_test.go
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
|
||
|
}
|