network

package
v0.0.0-...-6c16969 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asn1Marshall

func Asn1Marshall(value string)

func Base64Encoder

func Base64Encoder()

func GetMask

func GetMask(ipAddr string)

func HostLookup

func HostLookup(hostname string)

func JsonMarshall

func JsonMarshall()

func Ping

func Ping(host string)

func PortLookup

func PortLookup(netType string, service string)

func ReadHttpGet

func ReadHttpGet(url string)

func ReadHttpHeader

func ReadHttpHeader(url string)

func ResolveIP

func ResolveIP(hostname string)

Types

type Email

type Email struct {
	Kind    string
	Address string
}

type Name

type Name struct {
	Family   string
	Personal string
}

type Person

type Person struct {
	Name  Name
	Email []Email
}

func PrepareData

func PrepareData() *Person

func (*Person) PersonString

func (p *Person) PersonString() string

Jump to

Keyboard shortcuts

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