api

package
v1.0.53 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: AGPL-3.0 Imports: 11 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, rbacService *rbac.RBACService) *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
	PriceUnit                *v1.PriceUnitHandler
	Customer                 *v1.CustomerHandler
	Connection               *v1.ConnectionHandler
	Plan                     *v1.PlanHandler
	Subscription             *v1.SubscriptionHandler
	SubscriptionPause        *v1.SubscriptionPauseHandler
	SubscriptionChange       *v1.SubscriptionChangeHandler
	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
	RevenueAnalytics         *v1.RevenueAnalyticsHandler
	CreditNote               *v1.CreditNoteHandler
	Tax                      *v1.TaxHandler
	Coupon                   *v1.CouponHandler
	Webhook                  *v1.WebhookHandler
	Addon                    *v1.AddonHandler
	EntityIntegrationMapping *v1.EntityIntegrationMappingHandler
	Settings                 *v1.SettingsHandler
	SetupIntent              *v1.SetupIntentHandler
	Group                    *v1.GroupHandler
	ScheduledTask            *v1.ScheduledTaskHandler
	AlertLogsHandler         *v1.AlertLogsHandler
	RBAC                     *v1.RBACHandler
	OAuth                    *v1.OAuthHandler

	// Portal handlers
	Onboarding     *v1.OnboardingHandler
	CustomerPortal *v1.CustomerPortalHandler
	// Cron jobs : TODO: move crons out of API based architecture
	CronSubscription       *cron.SubscriptionHandler
	CronWallet             *cron.WalletCronHandler
	CronCreditGrant        *cron.CreditGrantCronHandler
	CronInvoice            *cron.InvoiceHandler
	CronKafkaLagMonitoring *cron.KafkaLagMonitoringHandler
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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