models

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthProviderType

type AuthProviderType string
const (
	AuthProviderClerk    AuthProviderType = "clerk"
	AuthProviderDatabase AuthProviderType = "database"
)

type MultiTenancyConfig

type MultiTenancyConfig struct {
	AuthProvider   AuthProviderType
	ClerkSecretKey string
	ClerkWebhook   string
	StripeSecret   string
	StripeWebhook  string
	DatabaseConfig models.DatabaseConfig
	APIKeyConfig   models.APIKeyConfig
}

type RateLimitConfig

type RateLimitConfig struct {
	Max        int
	Expiration time.Duration
	KeyFunc    func(*fiber.Ctx) string
}

type TimeoutConfig

type TimeoutConfig struct {
	Timeout time.Duration
}

Jump to

Keyboard shortcuts

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