project init

This commit is contained in:
geek 2018-04-06 21:57:41 +09:00
parent 24d5d01437
commit 215ea27cda

View File

@ -12,7 +12,7 @@ import (
type RPCServlet interface {
cssw.Servlet
}
}
type RPCServlets struct {
cssw.Servlets
@ -42,7 +42,7 @@ func (s *RPCServlets) Handle(
}()
sc := crpj.NewServerCodec()
grpcCTX := context.Background()
for {
select {
@ -55,6 +55,7 @@ func (s *RPCServlets) Handle(
m := src.Method()
p,_ := src.Params()
grpcCTX := context.Background()
r, err := ogeg.Exec(grpcCTX,m, p)