Skip to content

ngrok/go-sdk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-sdk-example

This example application starts a hello world HTTP server on port 8085 and then uses the ngrok Go SDK (golang.ngrok.com/ngrok/v2) to forward public traffic to that server. See the quickstart and SDK reference for more details. When you run it, you'll get a public URL that anyone can use to access your app.

Clone and Run This Example

git clone git@github.com:ngrok/go-sdk-example.git
cd go-sdk-example
NGROK_AUTHTOKEN=<token> go run main.go

License

MIT

About

Minimal HTTP server using the ngrok Go SDK

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages