Documentation ¶
Index ¶
- Variables
- func GetClusterByName(name string) (config.Cluster, bool)
- func GetCurrentCluster() config.Cluster
- func GetDefaultConfigPath() string
- func GetTopicByName(name string) (config.Topic, bool)
- func ReadConfiguration()
- func SetCluster(cluster config.Cluster)
- func SetCurrentCluster(name string) bool
- func SetTopic(topic config.Topic)
- func WriteConfiguration() error
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = readConfiguration()
View Source
var ConfigPath = GetDefaultConfigPath()
Functions ¶
func GetCurrentCluster ¶
func GetDefaultConfigPath ¶
func GetDefaultConfigPath() string
func ReadConfiguration ¶
func ReadConfiguration()
func SetCluster ¶
func SetCurrentCluster ¶
func WriteConfiguration ¶
func WriteConfiguration() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.