config

package
v0.0.0-...-f0852b9 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 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 {
	Postgres *Postgres
	Kafka    *Kafka
}

func Load

func Load() (*Config, error)

type Kafka

type Kafka struct {
	Brokers             []string
	Group               string
	OrderEndedTopicName string
}

type Postgres

type Postgres struct {
	Host     string
	Port     uint
	User     string
	Password string
	Database string
}

Jump to

Keyboard shortcuts

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