config

package
v0.0.0-...-d1d2f72 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: BSD-3-Clause Imports: 7 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 {
	DefaultCluster string                   `mapstructure:"default_cluster"`
	Clusters       map[string]*kafka.Config `mapstructure:"clusters"`
	// contains filtered or unexported fields
}

func LoadConfig

func LoadConfig(cfgFilepath string) (*Config, error)

func (*Config) Cluster

func (c *Config) Cluster(profile string) (*kafka.Config, error)

func (*Config) Filepath

func (c *Config) Filepath() string

Jump to

Keyboard shortcuts

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