Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DBTypeDefault = dblayer.DBTYPE("mongodb") DBConnectionDefault = "mongodb://127.0.0.1" RestfulEPDefault = "localhost:8181" RestfulTLSEPDefault = "localhost:9191" )
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { Databasetype dblayer.DBTYPE `json:"databasetype"` DBConnection string `json:"dbconnection"` RestfulEndpoint string `json:"restfulapi_endpoint"` RestfulTLSEndPint string `json:"restfulapi-tlsendpoint"` }
func ExtractConfiguration ¶
func ExtractConfiguration(filename string) (ServiceConfig, error)
Click to show internal directories.
Click to hide internal directories.