https://github.com/meterup/ngrok-go
Ngrok Go client
https://github.com/meterup/ngrok-go
go golang http ngrok ngrok-client
Last synced: 21 days ago
JSON representation
Ngrok Go client
- Host: GitHub
- URL: https://github.com/meterup/ngrok-go
- Owner: meterup
- License: other
- Created: 2019-12-11T19:39:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T04:34:28.000Z (almost 5 years ago)
- Last Synced: 2025-10-20T00:18:03.373Z (4 months ago)
- Topics: go, golang, http, ngrok, ngrok-client
- Language: Go
- Homepage: https://godoc.org/github.com/meterup/ngrok-go
- Size: 15.6 KB
- Stars: 1
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngrok-go
This client simplifies interaction with the ngrok API.
Example usage:
```go
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.