MCPcopy Create free account
hub / github.com/openclaw/gogcli / appScriptService

Function appScriptService

internal/cmd/runtime_services.go:168–174  ·  view source on GitHub ↗
(ctx context.Context, account string)

Source from the content-addressed store, hash-verified

166}
167
168func appScriptService(ctx context.Context, account string) (*scriptapi.Service, error) {
169 runtime, err := runtimeWithService(ctx, "app script")
170 if err != nil || runtime.Services.AppScript == nil {
171 return nil, serviceError(err, "app script")
172 }
173 return runtime.Services.AppScript(ctx, account)
174}
175
176func analyticsAdminService(ctx context.Context, account string) (*analyticsadmin.Service, error) {
177 runtime, err := runtimeWithService(ctx, "analytics admin")

Callers 6

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85

Calls 3

runtimeWithServiceFunction · 0.85
serviceErrorFunction · 0.85
AppScriptMethod · 0.80

Tested by 1