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

Method HelloMethod

hex/handler.go:30–34  ·  view source on GitHub ↗

HelloMethod implements the HelloServiceImpl interface.

(ctx context.Context, request *example.HelloReq)

Source from the content-addressed store, hash-verified

28
29// HelloMethod implements the HelloServiceImpl interface.
30func (s *HelloServiceImpl) HelloMethod(ctx context.Context, request *example.HelloReq) (resp *example.HelloResp, err error) {
31 resp, err = service.NewHelloMethodService(ctx).Run(request)
32
33 return resp, err
34}

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected