base grpc support

This commit is contained in:
Ethan Buchman
2016-05-18 00:54:32 -04:00
parent c3cc5375be
commit f84f11ffe7
7 changed files with 711 additions and 84 deletions

View File

@ -25,7 +25,7 @@ type Server struct {
app types.Application
}
func NewServer(protoAddr string, app types.Application) (*Server, error) {
func NewServer(protoAddr string, app types.Application) (Service, error) {
parts := strings.SplitN(protoAddr, "://", 2)
proto, addr := parts[0], parts[1]
s := &Server{