utils

package
v0.0.0-...-78bfb62 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostIP

func GetHostIP() net.IP

GetHostIP returns the net.IP of the default network interface on the machine.

Types

type ArrayFlags

type ArrayFlags []string

ArrayFlags can be used with flags.Var to specify the a command line argument multiple timmes.

func (*ArrayFlags) Set

func (i *ArrayFlags) Set(value string) error

Set is used to append a new value to the array by flags.Var.

func (*ArrayFlags) String

func (i *ArrayFlags) String() string

String returns a basic string concationation of all values.

Jump to

Keyboard shortcuts

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