Browse Source

更新pb.go

master
guzeng 2 years ago
parent
commit
f5929d44de
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      msg.pb.go

+ 4
- 0
msg.pb.go View File

@ -99,6 +99,7 @@ func init() {
type MsgRpcService interface {
SendMsg(in *Request, out *Response) error
SendNotcie(in *Request, out *Response) error
}
// AcceptMsgRpcServiceClient accepts connections on the listener and serves requests
@ -173,6 +174,9 @@ func NewMsgRpcServiceClient(conn io.ReadWriteCloser) (*MsgRpcServiceClient, *rpc
func (c *MsgRpcServiceClient) SendMsg(in *Request, out *Response) error {
return c.Call("MsgRpcService.SendMsg", in, out)
}
func (c *MsgRpcServiceClient) SendNotcie(in *Request, out *Response) error {
return c.Call("MsgRpcService.SendNotcie", in, out)
}
// DialMsgRpcService connects to an MsgRpcService at the specified network address.
func DialMsgRpcService(network, addr string) (*MsgRpcServiceClient, *rpc.Client, error) {


Loading…
Cancel
Save