You will need your
API URLand your
API tokenin order to connect the Client SDK to you Unleash instance. You can find this information in the “Admin” section Unleash management UI. Read more
To install the latest version of the client use:
If you are still using Unleash Server v2.x.x, then you should use:
The easiest way to get started with Unleash is to initialize it early in your application code:
After you have initialized the unleash-client you can easily check if a feature toggle is enabled or not.
To shut down the client (turn off the polling) you can simply call the destroy-method. This is typically not required.
The Go client comes with implementations for the built-in activation strategies provided by unleash.
Read more about the strategies in activation-strategy.md.
In order to use some of the common activation strategies you must provide a unleash-context. This client SDK allows you to send in the unleash context as part of the
Read more at github.com/Unleash/unleash-client-go