TODO: Add description
If available in Hex, the package can be installed
by adding lokal_ex
to your list of dependencies in mix.exs
:
def deps do
[
{:lokal_ex, "~> 0.1.0"}
]
end
tunnel = Lokal.Tunnel.new()
|> Lokal.Tunnel.set_name("my-web-app")
|> Lokal.Tunnel.set_local_address("localhost:4000")
|> Lokal.Tunnel.set_tunnel_type("http")
|> Lokal.Tunnel.set_lan_address("snake.local")
|> Lokal.Tunnel.set_inspection(true)
|> Lokal.Tunnel.show_startup_banner()
|> Lokal.Tunnel.create()
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/lokal_ex.