grpc

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package grpc provides gRPC server implementation for the analytics service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsServer

type AnalyticsServer struct {
	pb.UnimplementedAnalyticsServiceServer
	// contains filtered or unexported fields
}

AnalyticsServer implements the gRPC AnalyticsService.

func NewServer

func NewServer(svc *analytics.Service) *AnalyticsServer

NewServer creates a new gRPC analytics server.

func (*AnalyticsServer) GetEconomics

GetEconomics returns cost analysis.

func (*AnalyticsServer) GetMetrics

GetMetrics returns aggregated metrics.

func (*AnalyticsServer) Record

Record saves a command execution record.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL