config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 4 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 {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(timeGenerator func() time.Time) (*Config, error)

func (Config) BrokerHost

func (c Config) BrokerHost() string

func (Config) BrokerPort

func (c Config) BrokerPort() int

func (Config) DlqTopicName

func (c Config) DlqTopicName() string

func (Config) ElasticHost

func (c Config) ElasticHost() string

func (Config) ElasticPassword

func (c Config) ElasticPassword() string

func (Config) ElasticUsername

func (c Config) ElasticUsername() string

func (Config) GroupId

func (c Config) GroupId() string

func (Config) InstanceId

func (c Config) InstanceId() string

func (Config) InvokingMethod

func (c Config) InvokingMethod() string

func (Config) InvokingUrl

func (c Config) InvokingUrl() string

func (Config) MaxRetryAttempt

func (c Config) MaxRetryAttempt() int

func (Config) OffsetTime

func (c Config) OffsetTime() time.Time

func (Config) TopicName

func (c Config) TopicName() string

func (Config) WorkerName

func (c Config) WorkerName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳