Documentation ¶
Overview ¶
Package tools (info part)
Package tools (ngrok part)
Package tools for the application
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateNgrokTunnel ¶
ActivateNgrokTunnel creates a ngrok tunnel and writes its URL to a file.
It receives a context and a pointer to a fiber.App. It returns nothing.
This code creates an ngrok tunnel and writes the URL to a file named "ngrok.url" in the same directory as the executable file. The ActivateNgrokTunnel function takes in a context and a pointer to a Fiber application. It uses the ngrok package to create the tunnel, and then saves the tunnel URL to a file. Finally, it sets the Fiber application's listener to the created tunnel.
func GetWasmFile ¶
GetWasmFile load or downloads the wasm file
Types ¶
This section is empty.