support

package
v0.1.124 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 SendDeleteRequest

func SendDeleteRequest(name string) (*http.Response, error)

func SendGetRequestByID

func SendGetRequestByID(id string) (*http.Response, error)

func SendGetRequestByName

func SendGetRequestByName(name string) (*http.Response, error)

func SendPostRequest

func SendPostRequest(name string, valueType string, extraParamValue string, converge bool) (*http.Response, error)

func SendPutRequest

func SendPutRequest(name string, value interface{}) (*http.Response, error)

func SetupDB

func SetupDB()

func UnmarshalJSONString

func UnmarshalJSONString(requestBody io.ReadCloser) map[string]interface{}

func ValidToken

func ValidToken() string

func WaitForServerToStart

func WaitForServerToStart()

Types

This section is empty.

Jump to

Keyboard shortcuts

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