network

package
v0.0.132 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: GPL-3.0 Imports: 10 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Raw added in v0.0.114

func Raw(client *http.Client, URL string, method string, data interface{}) (*http.Response, error)

func Send added in v0.0.114

func Send(client *http.Client, URL string, method string, data []byte) *contracts.Response

func StreamByte added in v0.0.129

func StreamByte(b []byte, w gin.ResponseWriter) error

func StreamClose added in v0.0.129

func StreamClose(w gin.ResponseWriter)

func StreamHttp added in v0.0.129

func StreamHttp(reader io.ReadCloser, w gin.ResponseWriter) error

func ToJson

func ToJson(data interface{}) json.RawMessage

Types

type Nameservers added in v0.0.125

type Nameservers struct {
	NS        []net.IP
	Defaultv4 []net.IP
	Defaultv6 []net.IP
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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