network

package
v0.0.136-smrctl Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: GPL-3.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Http added in v0.1.56

func Http(ctx context.Context, client *http.Client, URL string, method string, data interface{}, headers map[string]string) (*http.Response, error)

func Raw added in v0.0.114

func Raw(ctx context.Context, 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) *iresponse.Response

func ToJSON added in v0.1.42

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