network

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenedTCPConns

func GetOpenedTCPConns() (procfs.NetTCP, error)

func GetOutboundIP

func GetOutboundIP() (net.IP, error)

Types

type TCPConnStatus

type TCPConnStatus uint64

Ref: https://unix.stackexchange.com/a/470527

const (
	TCPConnStatusEstablished TCPConnStatus = 1
	TCPConnStatusListening   TCPConnStatus = 10
)

Jump to

Keyboard shortcuts

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