Documentation
¶
Index ¶
Constants ¶
View Source
const BaseURL = "http://localhost:8000/api/v1/"
View Source
const ClientAPIKey = "B62qaMZNwfiqT76p38ggrQ"
View Source
const EnvironmentAPIKey = "ser.test_key"
View Source
const EnvironmentJson = `` /* 1948-byte string literal not displayed */
View Source
const EnvironmentJsonPage2 = `` /* 1000-byte string literal not displayed */
EnvironmentJsonPage2 contains only identity_overrides — the base environment fields are irrelevant for subsequent pages since only IdentityOverrides are merged.
View Source
const EnvironmentJsonWithSegmentOverride = `` /* 1478-byte string literal not displayed */
View Source
const Feature1ID = 1
View Source
const Feature1Name = "feature_1"
View Source
const Feature1OverriddenValue = "some-overridden-value"
View Source
const Feature1Value = "some_value"
View Source
const FlagsJson = `` /* 350-byte string literal not displayed */
View Source
const IdentityResponseJson = `` /* 446-byte string literal not displayed */
View Source
const OverriddenIdentifier = "overridden-id"
View Source
const OverriddenIdentifierPage2 = "overridden-id-page2"
View Source
const PageID = "identity_override:1:00000000-0000-0000-0000-000000000001"
View Source
const PageIDEncoded = "identity_override%3A1%3A00000000-0000-0000-0000-000000000001"
Variables ¶
This section is empty.
Functions ¶
func EnvironmentDocumentHandler ¶
func EnvironmentDocumentHandler(rw http.ResponseWriter, req *http.Request)
func FlagsAPIHandlerWithInternalServerError ¶
func FlagsAPIHandlerWithInternalServerError(rw http.ResponseWriter, req *http.Request)
func PaginatedEnvironmentDocumentHandler ¶ added in v5.1.0
func PaginatedEnvironmentDocumentHandler(rw http.ResponseWriter, req *http.Request)
PaginatedEnvironmentDocumentHandler serves two pages of environment document. Page 1 includes a Link header pointing to page 2. Page 2 has no Link header.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.