config

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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 {
	Logger  stream.LoggerConfig `toml:"Logger"`
	Sender  stream.SenderConfig `toml:"Sender"`
	API     stream.APIConfig    `toml:"API"`
	Storage stream.RedisConfig  `toml:"Storage"`
}

Config defines required configuration for VulcanStream

func MustReadConfig

func MustReadConfig(path string) Config

MustReadConfig reads TOML file with Vulcan Stream configuration

Jump to

Keyboard shortcuts

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