config

package
v0.0.0-...-d386c04 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Sender                 sender.Config          `json:"sender" yaml:"sender" mapstructure:"sender"`
	CircuitBreaker         circuitbreaker.Config  `json:"circuit_breaker" yaml:"circuit_breaker" mapstructure:"circuit_breaker"`
	Idempotency            idempotency.Config     `json:"idempotency" yaml:"idempotency" mapstructure:"idempotency"`
	DistributedLockManager dlm.Config             `json:"distributed_lock_manager" yaml:"distributed_lock_manager" mapstructure:"distributed_lock_manager"`
	Cache                  cache.Config           `json:"cache" yaml:"cache" mapstructure:"cache"`
	Authenticators         []authenticator.Config `json:"authenticators" yaml:"authenticators" mapstructure:"authenticators"`
	Streaming              streaming.Config       `json:"streaming" yaml:"streaming" mapstructure:"streaming"`
}

func New

func New(provider configuration.Provider) (*Config, error)

func (*Config) Validate

func (conf *Config) Validate() error

type Wrapper

type Wrapper struct {
	Infrastructure Config `json:"infrastructure" yaml:"infrastructure" mapstructure:"infrastructure"`
}

func (*Wrapper) Validate

func (conf *Wrapper) Validate() error

Jump to

Keyboard shortcuts

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