cfgmodel

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FriendlyStripeSync

type FriendlyStripeSync struct {
	Debug       bool `json:"debug"`
	Purge       bool `json:"purge"`
	Development bool `json:"development"`

	Stripe     Stripe     `json:"stripe"`
	Postgres   Postgres   `json:"postgres"`
	StripeSync StripeSync `json:"stripe_sync"`

	Logging Logging `json:"logging"`
}

type Logging

type Logging struct {
	Filename   string `json:"filename"`
	MaxSize    int    `json:"max_size"`
	MaxAge     int    `json:"max_age"`
	MaxBackups int    `json:"max_backups"`
}

type Postgres

type Postgres struct {
	Host     string `json:"host"`
	Port     int    `json:"port"`
	User     string `json:"user"`
	Password string `json:"password"`
	DBName   string `json:"dbname"`
	SSLMode  string `json:"sslmode"`
}

type Stripe

type Stripe struct {
	APIKey string `json:"api_key"`
}

type StripeSync

type StripeSync struct {
	IntervalSeconds int      `json:"interval_seconds"`
	ExcludedFields  []string `json:"excluded_fields"`
}

Jump to

Keyboard shortcuts

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