Content-Length: 276993 | pFad | http://github.com/meterup/ngrok-go

E1 GitHub - meterup/ngrok-go: Ngrok Go client
Skip to content

meterup/ngrok-go

Repository files navigation

ngrok-go

This client simplifies interaction with the ngrok API.

Example usage:

import ngrok "github.com/meterup/ngrok-go"

client := ngrok.New(ngrok.BaseURL, os.Getenv("NGROK_API_TOKEN"))
data := url.Values{}
data.Set("description", "ngrok-go")
cred, err := client.Creds.Create(context.TODO(), data)
if err != nil {
    log.Fatal(err)
}
fmt.Printf("created credential: %#v\n", cred)

The client does not implement the entire API, but it should be easy to add new endpoints following the existing pattern.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/meterup/ngrok-go

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy