Versions in this module Expand all Collapse all v0 v0.2.1 Oct 9, 2026 v0.2.0 Oct 8, 2026 Changes in this version + type BatchEntry struct + Body []byte + ID string + Options []SendOption + type BatchFailure struct + Code string + ID string + Message string + SenderFault bool + type BatchResult struct + Failed []BatchFailure + Successful []BatchSuccess + Unsent []BatchUnsent + type BatchSuccess struct + ID string + MessageID string + type BatchUnsent struct + Err error + ID string + type Client interface + Send func(ctx context.Context, body []byte, opts ...SendOption) (string, error) + SendBatch func(ctx context.Context, entries []BatchEntry) (BatchResult, error) + type SendOption func(*SendOptions) + type SendOptions struct + Attributes map[string]string + DeduplicationID string + Delay time.Duration + GroupID string