config

package
v0.0.0-...-9b3b468 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2015 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DbIdentifierPrefix    string                      `json:"dbIdentifierPrefix"`
	ListeningAddr         string                      `json:"listeningAddr"`
	LogLevel              string                      `json:"logLevel"`
	Crednetials           brokerapi.BrokerCredentials `json:"brokerCredentials"`
	ServiceCatalog        []brokerapi.Service         `json:"serviceCatalog"`
	BrokerGoSqlDriver     string                      `json:"brokerGoSqlDriver"`
	BrokerMssqlConnection map[string]string           `json:"brokerMssqlConnection"`
	ServedBindingHostname string                      `json:"servedMssqlBindingHostname"`
	ServedBindingPort     int                         `json:"servedMssqlBindingPort"`
}

func LoadFromFile

func LoadFromFile(path string) (*Config, error)

func ParseJson

func ParseJson(jsonConf []byte) (*Config, error)

Jump to

Keyboard shortcuts

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