config

package
Version: v0.0.0-...-ad2c5a6 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMain

func GetMain() map[string]map[string]string

GetMain returns Main API configuration

func GetNodes

func GetNodes() map[string]map[string]string

GetNodes returns Nodes configuration

func GetSentryData

func GetSentryData() map[string]map[string]string

GetSentryData returns Sentry configuration

func LoadMainConfiguration

func LoadMainConfiguration() (map[string]map[string]string, error)

LoadMainConfiguration loads main configuration file from config folder

func LoadNodesConfiguration

func LoadNodesConfiguration() (map[string]map[string]string, error)

LoadNodesConfiguration loads node configuration file from config folder

func LoadSentryConfiguration

func LoadSentryConfiguration() (map[string]map[string]string, error)

LoadSentryConfiguration loads sentry configuration details

func SetMainFile

func SetMainFile(newFile string)

SetMainFile sets file location containing API configuration

func SetNodesFile

func SetNodesFile(newFile string)

SetNodesFile sets file location containing Node configuration

func SetSentryFile

func SetSentryFile(newFile string)

SetSentryFile sets file location containing sentry data

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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