micro/server/handler.go

12 lines
165 B
Go

package server
import (
"github.com/myodc/go-micro/registry"
)
type Handler interface {
Name() string
Handler() interface{}
Endpoints() []*registry.Endpoint
}