core

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToString

func ConvertToString(src string, srcCode string, tagCode string) string

func EvalDecode

func EvalDecode(code string) (string, error)

func EvalDecodeNew

func EvalDecodeNew(code string) (string, error)

func FileGet

func FileGet(httpReq HttpReqStruct, storagePath string) error

func HtmlGet

func HtmlGet(httpReq HttpReqStruct) (*goquery.Document, error)

func LzDecompressFromBASE64

func LzDecompressFromBASE64(input string) (result string, err error)

func ProxyAwareHttpClient

func ProxyAwareHttpClient() *http.Client

Types

type HttpReqStruct

type HttpReqStruct struct {
	Url       string
	Referer   string
	UserAgent string
	Method    string
	// contains filtered or unexported fields
}

func DefaultHttpReq

func DefaultHttpReq(url string) (httpReq HttpReqStruct)

Jump to

Keyboard shortcuts

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