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

Method replyFail

internal/nodes/api_stream.go:490–492  ·  view source on GitHub ↗

回复失败

(requestId int64, message string)

Source from the content-addressed store, hash-verified

488
489// 回复失败
490func (this *APIStream) replyFail(requestId int64, message string) {
491 _ = this.stream.Send(&pb.NodeStreamMessage{RequestId: requestId, IsOk: false, Message: message})
492}
493
494// 回复成功
495func (this *APIStream) replyOk(requestId int64, message string) {

Callers 9

handleWriteCacheMethod · 0.95
handleReadCacheMethod · 0.95
handleStatCacheMethod · 0.95
handleCleanCacheMethod · 0.95
handleChangeAPINodeMethod · 0.95
handleUnknownMessageMethod · 0.95
cacheStorageMethod · 0.95

Calls 1

SendMethod · 0.45

Tested by

no test coverage detected