Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserIPAddress ¶
GetUserIPAddress retrieves the IP address of the user.
func IsValidIPPort ¶
IsValidIPPort checks if an string IP:port pair is valid.
func SplitLuxgoRPCURI ¶
SplitLuxgoRPCURI splits the RPC URI into `endpoint` and `chain`. Reverse operation of `fmt.Sprintf("%s/ext/bc/%s", endpoint, chain)`. Returns the `uri` and `chain` as strings, or an error if the request URI is invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.