MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / EntitlementService

Method EntitlementService

api/pkg/di/container.go:851–859  ·  view source on GitHub ↗

EntitlementService creates a new instance of services.EntitlementService

()

Source from the content-addressed store, hash-verified

849
850// EntitlementService creates a new instance of services.EntitlementService
851func (container *Container) EntitlementService() *services.EntitlementService {
852 container.logger.Debug("creating services.EntitlementService")
853 return services.NewEntitlementService(
854 container.Logger(),
855 container.Tracer(),
856 os.Getenv("ENTITLEMENT_ENABLED") == "true",
857 container.UserRepository(),
858 )
859}
860
861// DiscordRepository creates a new instance of repositories.DiscordRepository
862func (container *Container) DiscordRepository() (repository repositories.DiscordRepository) {

Callers 2

PhoneAPIKeyHandlerMethod · 0.95

Calls 4

LoggerMethod · 0.95
TracerMethod · 0.95
UserRepositoryMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected