api

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(handlers Handlers, cfg *config.Configuration, logger *logger.Logger, secretService service.SecretService, envAccessService service.EnvAccessService) *gin.Engine

Types

type Handlers

type Handlers struct {
	Events            *v1.EventsHandler
	Meter             *v1.MeterHandler
	Auth              *v1.AuthHandler
	User              *v1.UserHandler
	Environment       *v1.EnvironmentHandler
	Health            *v1.HealthHandler
	Price             *v1.PriceHandler
	Customer          *v1.CustomerHandler
	Plan              *v1.PlanHandler
	Subscription      *v1.SubscriptionHandler
	SubscriptionPause *v1.SubscriptionPauseHandler
	Wallet            *v1.WalletHandler
	Tenant            *v1.TenantHandler
	Invoice           *v1.InvoiceHandler
	Feature           *v1.FeatureHandler
	Entitlement       *v1.EntitlementHandler
	CreditGrant       *v1.CreditGrantHandler
	Payment           *v1.PaymentHandler
	Task              *v1.TaskHandler
	Secret            *v1.SecretHandler
	CostSheet         *v1.CostSheetHandler
	CreditNote        *v1.CreditNoteHandler

	Webhook *v1.WebhookHandler
	// Portal handlers
	Onboarding *v1.OnboardingHandler
	// Cron jobs : TODO: move crons out of API based architecture
	CronSubscription *cron.SubscriptionHandler
	CronWallet       *cron.WalletCronHandler
	CronCreditGrant  *cron.CreditGrantCronHandler
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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