currency

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminPublicKeyConfigEnvName = envConfigPrefix + "ADMIN_PUBLIC_KEY"

	MaxCurrencyCountConfigEnvName = envConfigPrefix + "MAX_CURRENCY_COUNT"
)

Variables

This section is empty.

Functions

func NewCurrencyServer

func NewCurrencyServer(
	log *zap.Logger,
	data ocp_data.Provider,
	mintDataProvider *currency_util.MintDataProvider,
	antispamGuard *antispam.Guard,
	s3Client *s3.Client,
	configProvider ConfigProvider,
) currencypb.CurrencyServer

Types

type ConfigProvider added in v0.21.0

type ConfigProvider func() *conf

ConfigProvider defines how config values are pulled

func WithEnvConfigs added in v0.21.0

func WithEnvConfigs() ConfigProvider

WithEnvConfigs returns configuration pulled from environment variables

Jump to

Keyboard shortcuts

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