14 lines
332 B
Go
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
|
||
|
}
|