logs-analyzer/signoz/pkg/query-service/interfaces/featureLookup.go
2024-09-02 22:47:30 +03:00

14 lines
332 B
Go

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
}