Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

401 B
Raw Blame
package licensing

import "context"

// FeatureChecker exposes feature-gate checks for the current tenant/license context.
type FeatureChecker interface {
	RequireFeature(feature string) error
	HasFeature(feature string) bool
}

// FeatureServiceResolver resolves a feature checker for the request context.
type FeatureServiceResolver interface {
	FeatureService(ctx context.Context) FeatureChecker
}