Documentation ¶
Index ¶
- Constants
- Variables
- 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) (*http.Response, error)
- func SendPutRequest(name string, value interface{}) (*http.Response, error)
- func SetupDB()
- func StartServer()
- func StopServer()
- func UnmarshalJSONString(requestBody io.ReadCloser) map[string]interface{}
- func ValidToken() string
Constants ¶
View Source
const AssetsDir string = "assets"
View Source
const DbSetupScript string = "./setup_db.sh"
View Source
const ServerStartTimeout int = 10
View Source
const ServerURL string = "https://localhost:9000"
View Source
const StartScript string = "./start_server.sh"
View Source
const StopScript string = "./stop_server.sh"
Variables ¶
View Source
var HTTPSClient = createHTTPSClient()
Functions ¶
func ParseCertString ¶
func ParseCertString(certString string) (*x509.Certificate, error)
func StartServer ¶
func StartServer()
func StopServer ¶
func StopServer()
func UnmarshalJSONString ¶
func UnmarshalJSONString(requestBody io.ReadCloser) map[string]interface{}
func ValidToken ¶
func ValidToken() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.