configuration

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerConfiguration

type ConsumerConfiguration struct {
	QueueConfig *RabbitMqConfiguration
}

func DefaultConsumerConfiguration

func DefaultConsumerConfiguration() ConsumerConfiguration

type HttpServerConfig

type HttpServerConfig struct {
	Host string
	Port int
}

func (*HttpServerConfig) Default

func (c *HttpServerConfig) Default()

type RabbitMqConfiguration

type RabbitMqConfiguration struct {
	Endpoint string
}

func (*RabbitMqConfiguration) Default

func (c *RabbitMqConfiguration) Default()

type ServerConfiguration

type ServerConfiguration struct {
	QueueConfig *RabbitMqConfiguration
	HttpConfig  *HttpServerConfig
}

func DefaultServerConfiguration

func DefaultServerConfiguration() ServerConfiguration

Jump to

Keyboard shortcuts

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