utils

package
v0.32.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PYTHON = "python"
	CMDARG = "-c"
)

Variables

This section is empty.

Functions

func CopyHeader added in v0.4.0

func CopyHeader(dst, src http.Header)

CopyHeader HTTP header type: type Header map[string][]string

func ParseHTTPGetParams added in v0.3.0

func ParseHTTPGetParams(urlStr string) (map[string]string, error)

ParseHTTPGetParams Parse Params from HTTP get request for example example.com?a=1&b=2 reply map[string]string{a:1,b:2},nil for url.Query() cannot parse symbol like % + and etc

func ProcessInstruction added in v0.3.0

func ProcessInstruction(moduleName string, funcName string, rawData string, scriptDir string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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