http

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FalconAuthName = "falcon_api"
	FalconAuthSig  = "b5bd81ef572011e79f8d48fd8e3b7eb0"
)

Functions

func FalconToken

func FalconToken() (string, error)

func HttpApiDelete

func HttpApiDelete(fullApiUrl string, params string, tokenType string) (io.ReadCloser, error)

func HttpApiGet

func HttpApiGet(fullApiUrl string, params string, tokenType string) (io.ReadCloser, error)

func HttpApiPost

func HttpApiPost(fullApiUrl string, params []byte, tokenType string) (io.ReadCloser, error)

func HttpApiPut

func HttpApiPut(fullApiUrl string, jsonData []byte, tokenType string) (status bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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