mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
异常宕机捕获处理
This commit is contained in:
@@ -77,14 +77,6 @@ type RpcAgent struct {
|
||||
userData interface{}
|
||||
}
|
||||
|
||||
type RpcRequestRw struct {
|
||||
//
|
||||
ServiceMethod string // format: "Service.Method"
|
||||
//Seq uint64 // sequence number chosen by client
|
||||
InputParam []byte
|
||||
|
||||
requestHandle RequestHandler
|
||||
}
|
||||
|
||||
func (agent *RpcAgent) WriteRespone(serviceMethod string,seq uint64,reply interface{},err *RpcError) {
|
||||
var rpcRespone RpcResponse
|
||||
|
||||
Reference in New Issue
Block a user