project init
This commit is contained in:
parent
24d5d01437
commit
215ea27cda
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user