support

package
v0.0.84 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ASSETS_DIR string = "assets"
View Source
const SECONDS_WAIT_FOR_SERVER_TO_START int = 10
View Source
const SERVER_URL string = "https://localhost:9000"
View Source
const SETUP_DB_SCRIPT string = "./setup_db.sh"
View Source
const START_SCRIPT string = "./start_server.sh"
View Source
const STOP_SCRIPT string = "./stop_server.sh"

Variables

View Source
var HTTPSClient *http.Client = createHTTPSClient()

Functions

func ParseCertString

func ParseCertString(certString string) (*x509.Certificate, error)

func SendDeleteRequest added in v0.0.80

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) (*http.Response, error)

func SendPutRequest

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

func SetupDB

func SetupDB()

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.

Jump to

Keyboard shortcuts

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