Documentation ¶
Overview ¶
Package tunnel provides a simple interface to start a tunnel to a backend URL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
Option is a tunnel option.
func WithNgrokOptions ¶
func WithNgrokOptions(opts ...ngrok.ConnectOption) Option
WithNgrokOptions sets the ngrok options to use when using the ngrok provider.
func WithProvider ¶
WithProvider sets the provider to use.
Directories ¶
Path | Synopsis |
---|---|
Package internal provides the internal tunnel implementation.
|
Package internal provides the internal tunnel implementation. |
Package moe provides a tunnel that uses the Moe protocol.
|
Package moe provides a tunnel that uses the Moe protocol. |
Package ngrok provides a tunnel that uses ngrok to expose a local port to the internet.
|
Package ngrok provides a tunnel that uses ngrok to expose a local port to the internet. |
Package types provides common types to avoid circular dependencies.
|
Package types provides common types to avoid circular dependencies. |
Click to show internal directories.
Click to hide internal directories.