network

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Post

func Post(url string, data interface{}, contentType string) string

Types

type HttpClient

type HttpClient struct {
	Protocol    string
	Ip          string
	Port        int
	Path        string
	Method      string
	TimeOut     time.Duration
	ContentType string
}

func (HttpClient) SendMessage

func (a HttpClient) SendMessage(params url.Values) (result interface{}, err error)

Jump to

Keyboard shortcuts

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