utils

package
v0.0.0-...-af5b15e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInternalIP

func GetInternalIP(ifaceName string) (string, error)

func HttpMachineGet

func HttpMachineGet(client *http.Client, host string, headers []Header) (*http.Response, error)

func IsolateIPFromPort

func IsolateIPFromPort(ip string) string

Types

type ErrorHttpCannotCreateRequest

type ErrorHttpCannotCreateRequest struct{}

func (ErrorHttpCannotCreateRequest) Error

type Header struct {
	Field   string
	Payload string
}

type IPError

type IPError struct{}

func (IPError) Error

func (e IPError) Error() string

Jump to

Keyboard shortcuts

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