Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDir ¶
EnsureDir checks a file could be written to a path, creates the directories as needed
func GetIP ¶
GetIP reads an IP from a string (this doesn't look to me like it is correctly written)
func GetJSON ¶
GetJSON reads a JSON file and returns an map containing the parsed data
func MakeSlug ¶
MakeSlug slugifies a string. The result will only contain lowercase letters, digits and dashes. It will not begin or end with a dash, and it will not contain runs of multiple dashes.
It is NOT forced into being ASCII, but may contain any Unicode characters, with the above restrictions.
Types ¶
type Endpoint ¶
Endpoint is the contact details for a JSONRPC endpoint
func NewClient ¶
NewClient generates a new jsonRPC client
Click to show internal directories.
Click to hide internal directories.