micro/api/handler/handler.go

15 lines
296 B
Go
Raw Normal View History

2019-06-03 20:44:43 +03:00
// Package handler provides http handlers
package handler // import "go.unistack.org/micro/v3/api/handler"
2019-06-03 20:44:43 +03: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
}