Documentation
¶
Overview ¶
Package ngrok opens ngrok tunnels for the Iris server. Import it for its side effects when ServerOptions.Ngrok (iris.NgrokOptions) is used:
import _ "github.com/kataras/iris/v14/core/server/ngrok"
The package registers its listener constructor with the core/server package from its init function, there is nothing to call. Without the import the server fails to start when Ngrok options are set, and the ngrok SDK stays out of the application's dependency graph.
Click to show internal directories.
Click to hide internal directories.