micro/api/handler/handler.go
2019-06-03 18:44:43 +01:00

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
}