github.com/pluralsh/plural-cli@v0.9.5/pkg/exp/posthog/types.go (about)

     1  package posthog
     2  
     3  type Client interface {
     4  	IsFeatureEnabled(FeatureFlagPayload) (bool, error)
     5  }
     6  
     7  type FeatureFlagPayload struct {
     8  	Key        string
     9  	DistinctId string
    10  }
    11  
    12  type Config struct {
    13  	APIKey   string
    14  	Endpoint string
    15  }