MCPcopy Create free account
hub / github.com/dearcode/candy / LoadMessage

Method LoadMessage

meta/gate.pb.go:607–607  ·  view source on GitHub ↗

ID 参照消息ID,每次可逆序(旧消息)或正序(新消息)接收100条 如果ID为0,就逆序返回旧的100条消息

(ctx context.Context, in *GateLoadMessageRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

605 // ID 参照消息ID,每次可逆序(旧消息)或正序(新消息)接收100条
606 // 如果ID为0,就逆序返回旧的100条消息
607 LoadMessage(ctx context.Context, in *GateLoadMessageRequest, opts ...grpc.CallOption) (*GateLoadMessageResponse, error)
608 // Push 服务端向客户端推送接口, 这个接口应该只有服务器能调用.
609 Push(ctx context.Context, in *GatePushRequest, opts ...grpc.CallOption) (*GatePushResponse, error)
610}

Callers 2

loadMessageMethod · 0.65

Implementers 2

gateClientmeta/gate.pb.go
Gategate/server.go

Calls

no outgoing calls

Tested by

no test coverage detected