source

package
v0.0.0-...-834ce46 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 1 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 {
	HTTPServer HTTPServer `koanf:"http_server"`
	// TODO - add source, auth and etc configurations
	Otel                    otela.Otel `koanf:"otel"`
	WriteKeyRedisExpiration uint       `koanf:"write_key_expiration"`
	NewSourceEventName      string     `koanf:"new_source_event_name"`
	BufferSize              int        `koanf:"buffersize"`
	MaxRetry                int        `koanf:"maxretry"`
}

Config is the main object for managing source configuration.

type HTTPServer

type HTTPServer struct {
	Port    int    `koanf:"port"`
	Network string `koanf:"network"`
}

HTTPServer is the main object for http configurations.

Jump to

Keyboard shortcuts

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