service

package
v1.0.0-beta.231 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntitlementService

func NewEntitlementService(
	config ServiceConfig,
) entitlement.Service

func NewEntitlementUniqueScopeLock

func NewEntitlementUniqueScopeLock(featureKey string, customerID string) (lockr.Key, error)

Types

type ServiceConfig

type ServiceConfig struct {
	EntitlementRepo  entitlement.EntitlementRepo
	FeatureConnector feature.FeatureConnector
	CustomerService  customer.Service
	MeterService     meter.Service

	MeteredEntitlementConnector meteredentitlement.Connector
	StaticEntitlementConnector  entitlement.SubTypeConnector
	BooleanEntitlementConnector entitlement.SubTypeConnector

	Publisher eventbus.Publisher
	Locker    *lockr.Locker
}

Jump to

Keyboard shortcuts

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