MCPcopy Index your code
hub / github.com/coder/coder / appStatsReporter

Struct appStatsReporter

enterprise/wsproxy/appstatsreporter.go:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10var _ workspaceapps.StatsReporter = (*appStatsReporter)(nil)
11
12type appStatsReporter struct {
13 Client *wsproxysdk.Client
14}
15
16func (r *appStatsReporter) ReportAppStats(ctx context.Context, stats []workspaceapps.StatsReport) error {
17 err := r.Client.ReportAppStats(ctx, wsproxysdk.ReportAppStatsRequest{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected