pricing

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extra

type Extra struct {
	Title    string `json:"title,omitempty"`
	Launched bool   `json:"launched,omitempty"`
}

type Price

type Price struct {
	Title        string  `json:"title,omitempty"`
	SubTitle     string  `json:"sub_title,omitempty"`
	Price        int     `json:"price,omitempty"`
	TeamMembers  int     `json:"team_members,omitempty"`
	Projects     int     `json:"projects,omitempty"`
	Agents       int     `json:"agents,omitempty"`
	Environments int     `json:"environments,omitempty"`
	Requests     int     `json:"requests,omitempty"`
	SupportType  string  `json:"support_type,omitempty"`
	Extras       []Extra `json:"extras,omitempty"`
	Stripe       Stripe  `json:"stripe,omitempty"`
}

type Stripe

type Stripe struct {
	PriceID        string `json:"price_id,omitempty"`
	PriceString    *sql.NullString
	DevPriceID     string `json:"dev_price_id,omitempty"`
	DevPriceString *sql.NullString
}

type System

type System struct {
	Config *ConfigBuilder.Config
}

func NewSystem

func NewSystem(cfg *ConfigBuilder.Config) *System

func (*System) GetCompanyPricing

func (s *System) GetCompanyPricing(w http.ResponseWriter, r *http.Request)

func (*System) GetEnterprise

func (s *System) GetEnterprise(ctx context.Context) Price

func (*System) GetFree

func (s *System) GetFree(ctx context.Context) Price

func (*System) GetGeneralPricing

func (s *System) GetGeneralPricing(w http.ResponseWriter, r *http.Request)

func (*System) GetPrice

func (s *System) GetPrice(ctx context.Context, title string) (Price, error)

func (*System) GetPrices

func (s *System) GetPrices(ctx context.Context) ([]Price, error)

func (*System) GetPro

func (s *System) GetPro(ctx context.Context) Price

func (*System) GetStartup

func (s *System) GetStartup(ctx context.Context) Price

Jump to

Keyboard shortcuts

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