mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-12 22:07:47 +02:00
Change receiver to handler, breaking change, grrr
This commit is contained in:
11
server/handler.go
Normal file
11
server/handler.go
Normal file
@ -0,0 +1,11 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/myodc/go-micro/registry"
|
||||
)
|
||||
|
||||
type Handler interface {
|
||||
Name() string
|
||||
Handler() interface{}
|
||||
Endpoints() []*registry.Endpoint
|
||||
}
|
Reference in New Issue
Block a user