Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventHeader = "X-Authara-Event" DeliveryHeader = "X-Authara-Delivery" DeliverySemantics = "best_effort" RetryReasonNetworkError = "network_error" RetryReasonHTTP429 = "http_429" RetryReasonHTTP5xx = "http_5xx" RetryReasonOtherHTTP4xx = "other_http_4xx" )
View Source
const ( SignatureHeader = "X-Authara-Signature" SignaturePrefix = "sha256=" SignatureAlgorithm = "hmac-sha256" SignatureFormat = "sha256=<hex>" )
Variables ¶
View Source
var RetryNotOn = []string{ RetryReasonOtherHTTP4xx, }
View Source
var RetryOn = []string{ RetryReasonNetworkError, RetryReasonHTTP429, RetryReasonHTTP5xx, }
View Source
var SupportedEventTypes = []EventType{ EventUserCreated, EventUserDeleted, }
Functions ¶
Types ¶
type Envelope ¶
type FilteringPublisher ¶
func NewFilteringPublisher ¶
func NewFilteringPublisher(inner Publisher, enabled map[string]struct{}) *FilteringPublisher
type NoopPublisher ¶
type NoopPublisher struct{}
Click to show internal directories.
Click to hide internal directories.