class Ngrok::Downloader

Defined in:

ngrok/downloader.cr

Constant Summary

CDN_PATH = "c/4VmDzA7iaHb/ngrok-stable"
CDN_URL = "https://bin.equinox.io"
DOWNLOAD_FILES = {"darwinia32" => "darwin-386.zip", "darwinx64" => "darwin-amd64.zip", "linuxarm" => "linux-arm.zip", "linuxarm64" => "linux-arm64.zip", "linuxia32" => "linux-386.zip", "linuxx64" => "linux-amd64.zip", "win32" => "windows-386.zip", "win64" => "windows-amd64.zip", "freebsdx64" => "freebsd-amd64.zip", "freebsdia32" => "freebsd-386.zip"}

Constructors

Instance Method Summary

Constructor Detail

def self.new(cdn_url : String = CDN_URL, cdn_path : String = CDN_PATH, bin_path : String = "./bin") #

[View source]

Instance Method Detail

def binary_path #

[View source]
def download! #

[View source]