mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-08 09:53:25 +00:00
11 lines
384 B
Go
11 lines
384 B
Go
package entitlements
|
|
|
|
import pkglicensing "github.com/rcourtman/pulse-go-rewrite/pkg/licensing"
|
|
|
|
// Evaluator is the canonical entitlement evaluator used by all runtime surfaces.
|
|
type Evaluator = pkglicensing.Evaluator
|
|
|
|
// NewEvaluator creates a new evaluator with the given source.
|
|
func NewEvaluator(source EntitlementSource) *Evaluator {
|
|
return pkglicensing.NewEvaluator(source)
|
|
}
|