Documentation
¶
Overview ¶
Package utils provides various utility function such as querying for the existance (or non-existance) of files and folders, automatic creation of required folders, and tools to query the health of your RPC providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstablishFolder ¶
EstablishFolder ensures that the given folder exists. If any folders in the path must be created, they will be created with 0755 permissions. Returns an error or nil on sucess.
func FileExists ¶
FileExists returns true if the file exists and is not a folder, false otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.