1 package ldcontext 2 3 // EventOutputContext is a specialization of Context that uses the LaunchDarkly event schema. 4 // 5 // Applications will not normally need to read event data; this type is provided for use in 6 // LaunchDarkly service code and other tools. In JSON event data, contexts appear slightly 7 // differently. Marshaling or unmarshaling this type rather than Context causes this variant 8 // JSON schema to be used. 9 // 10 // The wrapped Context can have all of the same properties as a regular Context, except that 11 // the meaning of "private attributes" is slightly different: in event data, these are the 12 // attributes that were redacted due to private attribute configuration, whereas in a regular 13 // Context they are the attributes that should be redacted. 14 type EventOutputContext struct { 15 Context 16 } 17