Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A client for NGINX Plus API for Go

License

NotificationsYou must be signed in to change notification settings

nginx/nginx-plus-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenSSFScorecardContinuous IntegrationLicenseGo Report CardFOSSA StatusGitHub release (latest SemVer)GitHub go.mod Go versionSlackProject Status: Active – The project has reached a stable, usable state and is being actively developed.Community Support

NGINX Plus Go Client

This project includes a client library for working with NGINX Plus API.

Table of Contents

About the Client

client/nginx.go includes functions and data structures for working with NGINX Plus API as well as some helperfunctions.

Compatibility

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 versionNGINX Plus version
4R18
5R19
6R20
7R25
8R27
9R30

Using the Client

  1. Importgithub.com/nginxinc/nginx-plus-go-client/client into your go project.
  2. Use your favorite vendor tool to add this to your/vendor directory in your project.

Testing

Unit tests

cd clientgo test

Integration tests

Prerequisites:

  • Docker
  • Docker Compose
  • golang
  • Make
  • NGINX Plus license - putnginx-repo.crt andnginx-repo.key into thedocker folder.

Run Tests:

make test

This 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

Contacts

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.

Contributing

If you'd like to contribute to the project, please read ourContributing guide.

Support

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

Stars

Watchers

Forks

Packages

No packages published

Contributors23

Languages


[8]ページ先頭

©2009-2025 Movatter.jp