MCPcopy Create free account
hub / github.com/cloudwego/hertz-examples / SetInvokeHandleFunc

Method SetInvokeHandleFunc

hex/hex_trans_handler.go:51–53  ·  view source on GitHub ↗

SetInvokeHandleFunc is used to set invoke handle func.

(inkHdlFunc endpoint.Endpoint)

Source from the content-addressed store, hash-verified

49
50// SetInvokeHandleFunc is used to set invoke handle func.
51func (t *transHandler) SetInvokeHandleFunc(inkHdlFunc endpoint.Endpoint) {
52 t.ServerTransHandler.(remote.InvokeHandleFuncSetter).SetInvokeHandleFunc(inkHdlFunc)
53}
54
55func (m mixTransHandlerFactory) NewTransHandler(opt *remote.ServerOption) (remote.ServerTransHandler, error) {
56 var kitexOrigin remote.ServerTransHandler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected