MCPcopy Create free account
hub / github.com/LockGit/gochat / Push

Method Push

api/rpc/rpc.go:104–110  ·  view source on GitHub ↗
(req *proto.Send)

Source from the content-addressed store, hash-verified

102}
103
104func (rpc *RpcLogic) Push(req *proto.Send) (code int, msg string) {
105 reply := &proto.SuccessReply{}
106 LogicRpcClient.Call(context.Background(), "Push", req, reply)
107 code = reply.Code
108 msg = reply.Msg
109 return
110}
111
112func (rpc *RpcLogic) PushRoom(req *proto.Send) (code int, msg string) {
113 reply := &proto.SuccessReply{}

Callers 1

PushFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected