micro/api/handler/handler.go

15 lines
247 B
Go
Raw Normal View History

2019-06-03 18:44:43 +01:00
// 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
}