logs-analyzer/signoz/pkg/query-service/interfaces/featureLookup.go

14 lines
332 B
Go
Raw Permalink Normal View History

2024-09-02 22:47:30 +03:00
package interfaces
import (
"go.signoz.io/signoz/pkg/query-service/model"
)
type FeatureLookup interface {
CheckFeature(f string) error
GetFeatureFlags() (model.FeatureSet, error)
GetFeatureFlag(f string) (model.Feature, error)
UpdateFeatureFlag(features model.Feature) error
InitFeatures(features model.FeatureSet) error
}