sysprof

package
v0.14.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SystemProfiler

func SystemProfiler(dataType string) ([]byte, error)

Types

type DNS

type DNS struct {
	ServerAddresses []string `json:"ServerAddresses"`
}

type IPv4 added in v0.8.2

type IPv4 struct {
	Addresses []string `json:"Addresses,omitempty"`
}

type NetworkDataType

type NetworkDataType struct {
	DNS       DNS     `json:"DNS"`
	Interface string  `json:"interface"`
	IPv4      IPv4    `json:"IPv4,omitempty"`
	Proxies   Proxies `json:"Proxies"`
}

func NetworkData

func NetworkData() ([]NetworkDataType, error)

type Proxies added in v0.7.0

type Proxies struct {
	ExceptionList []string    `json:"ExceptionList"` // default: ["*.local", "169.254/16"]
	FTPEnable     string      `json:"FTPEnable"`
	FTPPort       interface{} `json:"FTPPort"`
	FTPProxy      string      `json:"FTPProxy"`
	FTPUser       string      `json:"FTPUser"`
	HTTPEnable    string      `json:"HTTPEnable"`
	HTTPPort      interface{} `json:"HTTPPort"`
	HTTPProxy     string      `json:"HTTPProxy"`
	HTTPUser      string      `json:"HTTPUser"`
	HTTPSEnable   string      `json:"HTTPSEnable"`
	HTTPSPort     interface{} `json:"HTTPSPort"`
	HTTPSProxy    string      `json:"HTTPSProxy"`
	HTTPSUser     string      `json:"HTTPSUser"`
}

type SPNetworkDataType

type SPNetworkDataType struct {
	SPNetworkDataType []NetworkDataType `json:"SPNetworkDataType"`
}

Jump to

Keyboard shortcuts

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