domain

package
v0.0.0-...-000d2dc Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Features

type Features struct {
	Links          int8
	QrCodes        int8
	LinkInBio      int8
	CustomAlias    int8
	CustomDomains  int8
	LinkPassword   bool
	LinkExpiration bool
	LinkStats      bool
	LinkStatsStore time.Duration
	UTMBuilder     bool
	CustomQrCodes  bool
}

type Plan

type Plan struct {
	ID          primitive.ObjectID //Unique identifier for the plan
	Name        string             //Name of the plan
	Description string             // Description of the plan
	Price       float64            // Price of the plan
	Features    Features           // Features of the plan
}

Plan represents a subscription plan offered by the SaaS platform.

func NewPlan

func NewPlan(name, description string, price float64, features Features) *Plan

Jump to

Keyboard shortcuts

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