Documentation ¶
Index ¶
- type KeyUsageStats
- type KeyUsageTracker
- func (t *KeyUsageTracker) AnalyzeUsagePatterns(ctx context.Context, keyID string) (map[string]interface{}, error)
- func (t *KeyUsageTracker) GetUsageStats(ctx context.Context, keyID string) (*KeyUsageStats, error)
- func (t *KeyUsageTracker) TrackUsage(ctx context.Context, keyID string, operation string, algorithm string) func(error)
- type UsageEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyUsageStats ¶
type KeyUsageTracker ¶
type KeyUsageTracker struct {
// contains filtered or unexported fields
}
func NewKeyUsageTracker ¶
func NewKeyUsageTracker( metrics *metrics.QuantumStorageMetrics, tracer tracing.Tracer, ) *KeyUsageTracker
func (*KeyUsageTracker) AnalyzeUsagePatterns ¶
func (*KeyUsageTracker) GetUsageStats ¶
func (t *KeyUsageTracker) GetUsageStats(ctx context.Context, keyID string) (*KeyUsageStats, error)
func (*KeyUsageTracker) TrackUsage ¶
Click to show internal directories.
Click to hide internal directories.