Documentation
¶
Index ¶
- Constants
- Variables
- func ConfigForDb() string
- func ParseCertString(certString string) (*x509.Certificate, error)
- func SendDeleteRequest(name string) (*http.Response, error)
- func SendGetRequestByID(id string) (*http.Response, error)
- func SendGetRequestByName(name string) (*http.Response, error)
- func SendPostRequest(name string, valueType string, extraParamValue string, converge bool) (*http.Response, error)
- func SendPutRequest(name string, value interface{}) (*http.Response, error)
- func SetupDB(w io.Writer)
- func UnmarshalJSONString(requestBody io.ReadCloser) map[string]interface{}
- func ValidToken() string
- func WaitForServerToStart()
Constants ¶
View Source
const DbEnvVar = "DB"
View Source
const ServerStartTimeout = 10
View Source
const ServerURL string = "https://localhost:9000"
Variables ¶
View Source
var HTTPSClient = createHTTPSClient()
Functions ¶
func ConfigForDb ¶
func ConfigForDb() string
func ParseCertString ¶
func ParseCertString(certString string) (*x509.Certificate, error)
func SendPostRequest ¶
func UnmarshalJSONString ¶
func UnmarshalJSONString(requestBody io.ReadCloser) map[string]interface{}
func ValidToken ¶
func ValidToken() string
func WaitForServerToStart ¶
func WaitForServerToStart()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.