Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTP HTTPConfig `yaml:"http" mapstructure:"http"` Database DatabaseConfig `yaml:"database" mapstructure:"database"` IPFS IPFSConfig `yaml:"ipfs" mapstructure:"ipfs"` Indexer IndexerConfig `yaml:"indexer" mapstructure:"indexer"` Feature FeatureConfig `yaml:"feature" mapstructure:"feature"` }
func NewDefault ¶
func NewDefault() *Config
type DatabaseConfig ¶
type FeatureConfig ¶
type FeatureConfig struct {
RegistrationEnabled bool `yaml:"registrationEnabled" mapstructure:"registrationEnabled" env:"ARCAD_PLUGIN_MARKET_FEATURE_REGISTRATION_ENABLED"`
}
type HTTPConfig ¶
type HTTPConfig struct {
Address string `yaml:"address" mapstructure:"address" env:"ARCAD_PLUGIN_MARKET_HTTP_ADDRESS"`
}
type IPFSConfig ¶
type IPFSConfig struct {
GatewayURL string `yaml:"gatewayUrl" mapstructure:"gatewayUrl" env:"ARCAD_PLUGIN_MARKET_IPFS_GATEWAY_URL"`
}
type IndexerConfig ¶
Click to show internal directories.
Click to hide internal directories.