web

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 8 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 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