icksdk

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiGet

func ApiGet(host string, apiname string) (body []byte, httpStatus int)

ApiGet issues a GET request and returns the decoded json and a success flag

func ApiGetHealth

func ApiGetHealth() (success bool)

ApiGetHealth issues a GET requests to /api/health returning a text with a server call counter. This is necessarilly done async in a seperate go routine, see https://golang.org/pkg/syscall/js/#FuncOf

Types

This section is empty.

Jump to

Keyboard shortcuts

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