Documentation ¶
Index ¶
- Variables
- func NewHolderFromConfig(ctx context.Context, config *Config, memberType interface{}) (features.TaggedFeatures, error)
- type Config
- type Holder
- func (h *Holder) AddFeaturesByTag(tag string, feature features.Feature) error
- func (h *Holder) Close() error
- func (h *Holder) GetFeaturesByTag(tag string) (features.Feature, error)
- func (h *Holder) GetFeaturesTag() ([]string, error)
- func (h *Holder) RemoveFeaturesByTag(tag string) error
- func (h *Holder) Start() error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_taggedfeatures_skeleton_proto protoreflect.FileDescriptor
Functions ¶
func NewHolderFromConfig ¶
Types ¶
type Config ¶
type Config struct { Features map[string]*anypb.Any `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func LoadJSONConfig ¶
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Holder ¶
type Holder struct {
// contains filtered or unexported fields
}
func (*Holder) AddFeaturesByTag ¶
func (*Holder) GetFeaturesByTag ¶
func (*Holder) GetFeaturesTag ¶
func (*Holder) RemoveFeaturesByTag ¶
Click to show internal directories.
Click to hide internal directories.