Versions in this module Expand all Collapse all v1 v1.1.4 Sep 28, 2026 v1.1.3 Sep 5, 2026 v1.1.2 Aug 11, 2026 v1.1.1 Aug 4, 2026 v1.1.0 Aug 3, 2026 Changes in this version + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) Authenticate(ctx context.Context, id string, ...) (*Properties, error) + func (c *Client) ConsoleDirectMessageSend(ctx context.Context, templateId string, recipientIDs []string, ...) (*MessageSendResults, error) + func (c *Client) ConsoleDirectMessageSendSimple(ctx context.Context, identityID, title, body string) error + func (c *Client) ConsoleMessageTemplatesList(ctx context.Context, limit int, cursor string) ([]MessageTemplate, string, error) + func (c *Client) EventsPublish(ctx context.Context, id string, events []*Event, ipAddress ...string) error + func (c *Client) EventsPublishLegacy(ctx context.Context, events []map[string]any) error + func (c *Client) ExperimentsList(ctx context.Context, id string, names, labels []string) (*ExperimentList, error) + func (c *Client) FlagsList(ctx context.Context, id string, names, labels []string) (*FlagList, error) + func (c *Client) FlagsListLegacy(ctx context.Context, identities []map[string]string) (map[string]interface{}, error) + func (c *Client) FlagsOverridesList(ctx context.Context, id string, names, labels []string) (*FlagOverridesList, error) + func (c *Client) IdentityDelete(ctx context.Context, id string) error + func (c *Client) LiveEventJoin(ctx context.Context, id, liveEventId string) error + func (c *Client) LiveEventsList(ctx context.Context, id string, names, labels []string, ...) (*LiveEventList, error) + func (c *Client) MessageDelete(ctx context.Context, id, messageId string) error + func (c *Client) MessageUpdate(ctx context.Context, id, messageId string, readTime, consumeTime int64) error + func (c *Client) MessagesList(ctx context.Context, id string, limit int, forward bool, cursor string, ...) (*MessageList, error) + func (c *Client) PropertiesGet(ctx context.Context, id string) (*Properties, error) + func (c *Client) PropertiesUpdate(ctx context.Context, id string, properties *PropertiesUpdate) error + func (c *Client) ServerEventsPublish(ctx context.Context, events []*Event, ipAddress ...string) error + type Config struct + APIKey string + APIKeyName string + SigningKey string + TimeoutMs int64 + URL string + type Event struct + Id string + IdentityId string + Metadata map[string]string + Name string + SessionExpiresAt int64 + SessionId string + SessionIssuedAt int64 + Timestamp int64 + Value string + type Experiment struct + FlagNames []string + Labels []string + Name string + Value string + type ExperimentList struct + Experiments []*Experiment + type Flag struct + ConditionChanged bool + Labels []string + Name string + Value string + type FlagList struct + Flags []*Flag + type FlagOverride struct + CreateTimeSec int64 + Name string + Type int + Value string + VariantName string + type FlagOverrides struct + FlagName string + Labels []string + Overrides []*FlagOverride + type FlagOverridesList struct + Flags []*FlagOverrides + type LiveEvent struct + ActiveEndTimeSec int64 + ActiveStartTimeSec int64 + Description string + DurationSec int64 + EndTimeSec int64 + FlagNames []string + Id string + Labels []string + Name string + ResetCronExpr string + StartTimeSec int64 + Status int + Value string + type LiveEventList struct + LiveEvents []*LiveEvent + type Message struct + ConsumeTime int64 + CreateTime int64 + Id string + ImageUrl string + Metadata map[string]any + ReadTime int64 + ScheduleId string + SendTime int64 + Text string + Title string + UpdateTime int64 + type MessageIntegration int + const MessageIntegrationAPNS + const MessageIntegrationFCM + const MessageIntegrationUnknown + type MessageIntegrationChannel int + const MessageIntegrationChannelDefault + const MessageIntegrationChannelEmail + const MessageIntegrationChannelPush + type MessageIntegrationChannels struct + Channels []MessageIntegrationChannel + type MessageList struct + CacheableCursor string + Messages []*Message + NextCursor string + PrevCursor string + type MessageSendIntegrationResult struct + ChannelType MessageIntegrationChannel + ErrorMessage string + IntegrationType MessageIntegration + Success bool + type MessageSendResult struct + IntegrationResults []*MessageSendIntegrationResult + RecipientID string + type MessageSendResults struct + DeliveryResults []*MessageSendResult + type MessageTemplate struct + ID string + Name string + Title string + Value string + type MessageTemplateOverride struct + ImageURL string + JsonMetadata string + Title string + Value string + Variants map[string]*MessageTemplateOverride + type Properties struct + Computed map[string]string + Custom map[string]string + Default map[string]string + type PropertiesUpdate struct + Custom map[string]string + Default map[string]string + Recompute *bool + type Satori interface + Authenticate func(ctx context.Context, id string, ...) (*Properties, error) + ConsoleDirectMessageSend func(ctx context.Context, templateId string, recipientIDs []string, ...) (*MessageSendResults, error) + EventsPublish func(ctx context.Context, id string, events []*Event, ipAddress ...string) error + ExperimentsList func(ctx context.Context, id string, names, labels []string) (*ExperimentList, error) + FlagsList func(ctx context.Context, id string, names, labels []string) (*FlagList, error) + FlagsOverridesList func(ctx context.Context, id string, names, labels []string) (*FlagOverridesList, error) + IdentityDelete func(ctx context.Context, id string) error + LiveEventJoin func(ctx context.Context, id, liveEventId string) error + LiveEventsList func(ctx context.Context, id string, names, labels []string, ...) (*LiveEventList, error) + MessageDelete func(ctx context.Context, id, messageId string) error + MessageUpdate func(ctx context.Context, id, messageId string, readTime, consumeTime int64) error + MessagesList func(ctx context.Context, id string, limit int, forward bool, cursor string, ...) (*MessageList, error) + PropertiesGet func(ctx context.Context, id string) (*Properties, error) + PropertiesUpdate func(ctx context.Context, id string, properties *PropertiesUpdate) error + ServerEventsPublish func(ctx context.Context, events []*Event, ipAddress ...string) error