global_config

package
v0.0.0-...-9f5e8be Latest Latest
Warning

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

Go to latest
Published: Nov 13, 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 AltruistConfigProvider

type AltruistConfigProvider interface {
	GetAltruistRequestTimeout() time.Duration
}

type ChainNetworkProvider

type ChainNetworkProvider interface {
	GetChainNetwork() chain_network.ChainNetwork
}

type DBCredentialsProvider

type DBCredentialsProvider interface {
	GetDatabaseConnectionUrl() string
}

type EnvironmentProvider

type EnvironmentProvider interface {
	GetEnvironmentStage() EnvironmentStage
}

type EnvironmentStage

type EnvironmentStage string
const (
	StageProduction EnvironmentStage = "production"
)

type PoktNodeConfigProvider

type PoktNodeConfigProvider interface {
	GetPoktRPCFullHost() string
	GetPoktRPCRequestTimeout() time.Duration
}

type PromMetricsProvider

type PromMetricsProvider interface {
	ShouldEmitServiceUrlPromMetrics() bool
}

type SecretProvider

type SecretProvider interface {
	GetPoktApplicationsEncryptionKey() string
	GetAPIKey() string
}

Jump to

Keyboard shortcuts

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