analytics

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, cfg *Config, auth auth.IAuth, svc Service) *grpc.Server

New creates a new analytics analytics-service.

Types

type Analytics

type Analytics struct {
	// contains filtered or unexported fields
}

Analytics represents the analytics-service.

func (*Analytics) GetUserAnalytics

GetUserAnalytics retrieves analytics data for a specific user.

func (*Analytics) GetWorkflowAnalytics

GetWorkflowAnalytics retrieves analytics data for a specific workflow.

type Config

type Config struct {
	Deadline    time.Duration `json:"deadline"`
	Environment string        `json:"environment"`
	TLSConfig   *TLSConfig    `json:"tls_config"`
}

Config holds the analytics-service configuration.

type Service

Service defines the interface for analytics service operations.

type TLSConfig

type TLSConfig struct {
	Enabled  bool   `json:"enabled"`
	CAFile   string `json:"ca_file"`
	CertFile string `json:"cert_file"`
	KeyFile  string `json:"key_file"`
}

TLSConfig holds TLS configuration for the gRPC server.

Directories

Path Synopsis
Package analytics is a generated GoMock package.
Package analytics is a generated GoMock package.

Jump to

Keyboard shortcuts

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