conf

package
v1.354.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigBatchSize added in v1.116.0

func GetConfigBatchSize() int

func GetConfigBool added in v1.32.0

func GetConfigBool(key string) bool

func GetConfigDataSourceName added in v1.116.0

func GetConfigDataSourceName() string

func GetConfigInt64 added in v1.32.0

func GetConfigInt64(key string) (int64, error)

func GetConfigRealDataSourceName added in v1.173.0

func GetConfigRealDataSourceName(driverName string) string

func GetConfigString added in v1.32.0

func GetConfigString(key string) string

func GetLanguage added in v1.246.1

func GetLanguage(language string) string

func IsDemoMode added in v1.110.0

func IsDemoMode() bool

Types

type Quota added in v1.171.0

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

func GetConfigQuota added in v1.171.0

func GetConfigQuota() *Quota

Jump to

Keyboard shortcuts

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