config

package
v0.0.0-...-7f6ee1c Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 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 {
	ConfluentAPIKey    string `env:"CONFLUENT_API_KEY"`
	ConfluentAPISecret string `env:"CONFLUENT_API_SECRET"`

	KafkaBootstrapServers string `env:"KAFKA_BOOTSTRAP_SERVERS"`
	KafkaTopic            string `env:"KAFKA_TOPIC" envDefault:""`

	TwitterAPIKey    string `env:"TWITTER_API_KEY"`
	TwitterAPISecret string `env:"TWITTER_API_SECRET"`
	TwitterTokenURL  string `env:"TWITTER_TOKEN_URL" envDefault:"https://api.twitter.com/oauth2/token"`
}

func Parse

func Parse() (Config, error)

Jump to

Keyboard shortcuts

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