MCPcopy
hub / github.com/larksuite/cli / consumeRuntime

Struct consumeRuntime

cmd/event/runtime.go:16–19  ·  view source on GitHub ↗

consumeRuntime routes event.APIClient calls through the shared client.APIClient with a pinned identity.

Source from the content-addressed store, hash-verified

14
15// consumeRuntime routes event.APIClient calls through the shared client.APIClient with a pinned identity.
16type consumeRuntime struct {
17 client *client.APIClient
18 accessIdentity core.Identity
19}
20
21func (r *consumeRuntime) CallAPI(ctx context.Context, method, path string, body interface{}) (json.RawMessage, error) {
22 resp, err := r.client.DoAPI(ctx, client.RawApiRequest{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected