- Notifications
You must be signed in to change notification settings - Fork26
A client for NGINX Plus API for Go
License
nginx/nginx-plus-go-client
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project includes a client library for working with NGINX Plus API.
client/nginx.go includes functions and data structures for working with NGINX Plus API as well as some helperfunctions.
This Client works against versions 4 to 9 of the NGINX Plus API. The table below shows the version of NGINX Plus wherethe API was first introduced.
| API version | NGINX Plus version |
|---|---|
| 4 | R18 |
| 5 | R19 |
| 6 | R20 |
| 7 | R25 |
| 8 | R27 |
| 9 | R30 |
- Import
github.com/nginxinc/nginx-plus-go-client/clientinto your go project. - Use your favorite vendor tool to add this to your
/vendordirectory in your project.
cd clientgo test
Prerequisites:
- Docker
- Docker Compose
- golang
- Make
- NGINX Plus license - put
nginx-repo.crtandnginx-repo.keyinto thedockerfolder.
Run Tests:
make testThis will build and run two NGINX Plus containers and create one docker network of type bridge, execute the client testsagainst both NGINX Plus APIs, and then clean up. If it fails and you want to clean up (i.e. stop the running containersand remove the docker network), please usemake clean
We’d like to hear your feedback! If you have any suggestions or experience issues with the NGINX Plus Go Client, pleasecreate an issue or send a pull request on GitHub. You can contact us directly viaintegrations@nginx.com or on theNGINX Community Slack.
If you'd like to contribute to the project, please read ourContributing guide.
This project is not covered by the NGINX Plus support contract.
About
A client for NGINX Plus API for Go
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.