transport

package
v0.0.0-...-15687f6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 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 {
	HTTP  *HttpConfig
	KAFKA *KafkaConfig
}

func LoadConfig

func LoadConfig() *Config

type HttpConfig

type HttpConfig struct {
	Port string `envconfig:"HTTP_ROUTER_ADDRESS" required:"true"`
}

type KafkaConfig

type KafkaConfig struct {
	BootstrapServers string `envconfig:"KAFKA_BOOTSTRAP_SERVERS" required:"true"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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