ldcommon

package module
v1.0.0-...-991b2f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

LaunchDarkly Go SDK Core Packages

Circle CI

Overview

This repository contains packages that are shared between the LaunchDarkly Go SDK and other LaunchDarkly Go components.

Applications using the LaunchDarkly Go SDK will usually not need to reference these packages directly. If you do (for instance, if you are using the SDK's JSONVariation method, which returns the type Value from the ldvalue package), you should import the same major version of the package that is imported by the SDK. See the SDK documentation for more details.

Note that the base import path is gopkg.in/launchdarkly/go-sdk-common.v1 (to ensure that you receive the latest release of major version 1.x), not github.com/launchdarkly/go-sdk-common. Also, unlike go-server-sdk this does not have server in the name, because nothing in this repository is specific to the LaunchDarkly server-side model; it could be used in a client-side context.

Supported Go versions

This version of the project has been tested with Go 1.8 through 1.13.

Learn more

Check out our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for the Go SDK, or the generated API documentation for this project.

Contributing

We encourage pull requests and other contributions from the community. Check out our contributing guidelines for instructions on how to contribute to this SDK.

About LaunchDarkly

  • LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
    • Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
    • Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
    • Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
    • Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
  • LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out our documentation for a complete list.
  • Explore LaunchDarkly

Documentation

Overview

Package ldcommon is the base package for commonly used Go SDK types and functions.

Currently there are no types in this package; they are all in subpackages such as ldvalue. In a future version, this package will contain the types that are most commonly needed when using the SDK, such as User. The subpackages contain types that applications are less likely to need (and that do not reference anything in the main package), such as Value.

Directories

Path Synopsis
Package ldvalue provides an abstraction of the LaunchDarkly SDK's general value type.
Package ldvalue provides an abstraction of the LaunchDarkly SDK's general value type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL