env

package
v0.84.14 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: GPL-3.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HomeDir         = os.Getenv("SLING_HOME_DIR")
	DbNetDir        = os.Getenv("DBNET_HOME_DIR")
	HomeDirEnvFile  = ""
	DbNetDirEnvFile = ""
)
View Source
var DisableSendAnonUsage = false

Functions

func Env

func Env() map[string]interface{}

Env returns the environment variables to propogate

func FlattenEnvFile

func FlattenEnvFile(filePath string) (env map[string]string, err error)

func InitLogger

func InitLogger()

InitLogger initializes the g Logger

func LogEvent

func LogEvent(m map[string]interface{})

LogEvent logs to Graylog

func NormalizeEnvFile

func NormalizeEnvFile(filePath string) (env map[string]interface{}, err error)

Types

type Conn

type Conn struct {
	Name        string
	Description string
	Source      string
	Connection  connection.Connection
}

func GetLocalConns

func GetLocalConns() []Conn

Jump to

Keyboard shortcuts

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