MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / replyOk

Method replyOk

internal/nodes/api_stream.go:495–497  ·  view source on GitHub ↗

回复成功

(requestId int64, message string)

Source from the content-addressed store, hash-verified

493
494// 回复成功
495func (this *APIStream) replyOk(requestId int64, message string) {
496 _ = this.stream.Send(&pb.NodeStreamMessage{RequestId: requestId, IsOk: true, Message: message})
497}
498
499// 回复成功并包含数据
500func (this *APIStream) replyOkData(requestId int64, message string, dataJSON []byte) {

Callers 8

handleWriteCacheMethod · 0.95
handleReadCacheMethod · 0.95
handleStatCacheMethod · 0.95
handleCleanCacheMethod · 0.95
handleNewNodeTaskMethod · 0.95
handleChangeAPINodeMethod · 0.95

Calls 1

SendMethod · 0.45

Tested by

no test coverage detected