1 package ldattr 2 3 const ( 4 // KeyAttr is a constant for the attribute name that corresponds to the Key() method in 5 // ldcontext.Context and ldcontext.Builder. This name is used in JSON representations and flag 6 // rules, and can be passed to ldcontext.Context.GetValue or ldcontext.Builder.SetValue. 7 KeyAttr = "key" 8 9 // KindAttr is a constant for the attribute name that corresponds to the Kind() method in 10 // ldcontext.Context and ldcontext.Builder. This name is used in JSON representations and flag 11 // rules, and can be passed to ldcontext.Context.GetValue or ldcontext.Builder.SetValue. 12 KindAttr = "kind" 13 14 // NameAttr is a constant for the attribute name that corresponds to the Name() method in 15 // ldcontext.Context and ldcontext.Builder. This name is used in JSON representations and flag 16 // rules, and can be passed to ldcontext.Context.GetValue or ldcontext.Builder.SetValue. 17 NameAttr = "name" 18 19 // AnonymousAttr is a constant for the attribute name that corresponds to the Anonymous() method 20 // ldcontext.Context and ldcontext.Builder. This name is used in JSON representations and flag 21 // rules, and can be passed to ldcontext.Context.GetValue or ldcontext.Builder.SetValue. 22 AnonymousAttr = "anonymous" 23 ) 24