Categorygithub.com/sonnt85/snetutils
modulepackage
0.0.0-20240315015310-5c613f061e04
Repository: https://github.com/sonnt85/snetutils.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetNetworkTime retrieves the current UTC time from the remote NTP server It returns the go time.Time type of the current time in UTC.
No description provided by the author
No description provided by the author
No description provided by the author
HABuildErrorResponse constructs an error response based on provided error codes and messages.
HABuildErrorResponseStr constructs an error response as a JSON string based on provided error codes and messages.
HABuildSuccessRespone constructs a success response with the provided result, messages, and optional result information.
HABuildSuccessResponeStr constructs a success response as a JSON string with the provided result, messages, and optional result information.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
infotype 0 interface name, 1 macaddr, 2 cidr, >2 lanip].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ipService: net.IP, *net.IP, []net.IP, *[]net.IP, string, *string, []string, *[]string => *[]net.IP serviceport: int, *int => *int info: string, []string, *[]string => *[]string ifaceName: string, net.Interface, *net.Interface => *net.Interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Stolen from https://godoc.org/golang.org/x/net/internal/iana, can't import "internal" packages.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
HAErrorCode represents an error code along with a message.
HAErrorResponse represents an error response containing common response fields.
HAResponseCommon is a common structure for both error and success responses.
HASuccessResponse represents a success response containing common response fields along with additional result information.

# Type aliases

HA is a type alias representing a map with string keys and interface{} values.
HAMessages is a type alias representing a map with string keys and interface{} values, typically used for representing messages in the response.
HAResult is a type alias representing a map with string keys and interface{} values, typically used for representing the result of an operation in the response.
HAResultInfo is a type alias representing a map with string keys and interface{} values, often used for representing additional information about the result.