web

package
v1.2.1-sp7 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do_Post

func Do_Post(url string, v interface{}) (string, error)

func GetBase64fromWebImage

func GetBase64fromWebImage(urlStr string) (string, error)

func GetMainDomain

func GetMainDomain(url string) string

func HttpHandle

func HttpHandle(method, urlStr, data string) (*http.Response, error)

Types

type ErrorMsg

type ErrorMsg struct {
	ErrorMsg string `json:"ErrorMsg"`
}

type HTTPRspBody

type HTTPRspBody struct {
	Result Results `json:"Result"`
}

type Results

type Results struct {
	RequestID     string   `json:"RequestID"`
	HasError      bool     `json:"HasError"`
	ResponseItems ErrorMsg `json:"ResponseItems"`
}

Jump to

Keyboard shortcuts

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