Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonString ¶
func OpenFreeUDPPort ¶
OpenFreeUDPPort opens free UDP port This example does not actually use UDP ports, but to avoid port collisions with the HTTP server, it binds the same number of UDP port in advance.
func TransToByte ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package concurrency contain some functions to support concurrent programming.
|
Package concurrency contain some functions to support concurrent programming. |
|
Package condition contains some functions for conditional judgment.
|
Package condition contains some functions for conditional judgment. |
|
Package convertor implements some functions to convert data.
|
Package convertor implements some functions to convert data. |
|
Package cryptor implements some util functions to encrypt and decrypt.
|
Package cryptor implements some util functions to encrypt and decrypt. |
|
Package datastructure implements some data structure.
|
Package datastructure implements some data structure. |
|
hashmap
Package datastructure implements some data structure.
|
Package datastructure implements some data structure. |
|
heap
Package datastructure implements some data structure.
|
Package datastructure implements some data structure. |
|
list
Package datastructure implements some data structure.
|
Package datastructure implements some data structure. |
|
Package datetime implements some functions to format date and time.
|
Package datetime implements some functions to format date and time. |
|
Package fileutil implements some basic functions for file operations
|
Package fileutil implements some basic functions for file operations |
|
Package formatter implements some functions to format string, struct.
|
Package formatter implements some functions to format string, struct. |
|
Package function implements some functions for control the function execution and some is for functional programming.
|
Package function implements some functions for control the function execution and some is for functional programming. |
|
Package internal is for internal use.
|
Package internal is for internal use. |
|
Package iterator provides a way to iterate over values stored in containers.
|
Package iterator provides a way to iterate over values stored in containers. |
|
Package lancetconstraints contain some comstomer constraints.
|
Package lancetconstraints contain some comstomer constraints. |
|
Package maputil includes some functions to manipulate map.
|
Package maputil includes some functions to manipulate map. |
|
Package mathutil implements some functions for math calculation.
|
Package mathutil implements some functions for math calculation. |
|
Package netutil implements some basic functions to send http request and get ip info.
|
Package netutil implements some basic functions to send http request and get ip info. |
|
Package random implements some basic functions to generate random int and string.
|
Package random implements some basic functions to generate random int and string. |
|
test
command
|
|
|
Package retry is for executing a function repeatedly until it was successful or canceled by the context.
|
Package retry is for executing a function repeatedly until it was successful or canceled by the context. |
|
Package slice implements some functions to manipulate slice.
|
Package slice implements some functions to manipulate slice. |
|
Package strutil implements some functions to manipulate string.
|
Package strutil implements some functions to manipulate string. |
|
Package system contain some functions about os, runtime, shell command.
|
Package system contain some functions about os, runtime, shell command. |
|
Package validator implements some validate function for string.
|
Package validator implements some validate function for string. |
|
Package xerror implements helpers for errors
|
Package xerror implements helpers for errors |
Click to show internal directories.
Click to hide internal directories.