config

package
v0.0.0-...-256d8ad Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(filepath string) error

Types

type Config

type Config struct {
	Port              string   `json:"port"`
	CassandraUsername string   `json:"cassandra_username"`
	CassandraPassword string   `json:"cassandra_password"`
	CassandraKeyspace string   `json:"cassandra_keyspace"`
	CassandraCluster  string   `json:"cassandra_cluster"`
	KafkaBroker       []string `json:"kafka_broker"`
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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