1
0
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:
Asim
2015-06-03 01:25:37 +01:00
parent 8cdc2b5f82
commit cdf2f2cbcd
13 changed files with 325 additions and 144 deletions

11
server/handler.go Normal file
View File

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