Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptOutConfig ¶
type OptOutConfig struct {
OptOutClients string `env:"OPT_OUT_CLIENTS" envDefault:""`
}
func GetOptOutConfig ¶
func GetOptOutConfig() (*OptOutConfig, error)
type TelemetryService ¶
type TelemetryServiceImpl ¶
type TelemetryServiceImpl struct {
// contains filtered or unexported fields
}
func NewTelemetryServiceImpl ¶
func NewTelemetryServiceImpl(logger *zap.SugaredLogger, client *http.Client, posthogConfig *util.PosthogConfig, optOutConfig *OptOutConfig) *TelemetryServiceImpl
func (*TelemetryServiceImpl) CheckForOptOut ¶
func (impl *TelemetryServiceImpl) CheckForOptOut(ucid string) (bool, error)
func (*TelemetryServiceImpl) GetByAPIKey ¶
func (impl *TelemetryServiceImpl) GetByAPIKey() (string, error)
func (*TelemetryServiceImpl) GetByPosthogInfo ¶
func (impl *TelemetryServiceImpl) GetByPosthogInfo() (*util.PosthogConfig, error)
Click to show internal directories.
Click to hide internal directories.