conf

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigBatchSize

func GetConfigBatchSize() int

func GetConfigBool

func GetConfigBool(key string) bool

func GetConfigDataSourceName

func GetConfigDataSourceName() string

func GetConfigInt64

func GetConfigInt64(key string) (int64, error)

func GetConfigString

func GetConfigString(key string) string

func GetLanguage

func GetLanguage(language string) string

func IsDemoMode

func IsDemoMode() bool

func ReplaceDataSourceNameByDocker

func ReplaceDataSourceNameByDocker(dataSourceName string) string

Types

type Quota

type Quota struct {
	Organization int `json:"organization"`
	User         int `json:"user"`
	Application  int `json:"application"`
	Provider     int `json:"provider"`
}

func GetConfigQuota

func GetConfigQuota() *Quota

Jump to

Keyboard shortcuts

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