Documentation
¶
Index ¶
Constants ¶
View Source
const ( TaskQueueName = "webhookx:queue" TaskQueueDataName = "webhookx:queue_data" TaskQueueVisibilityTimeout = time.Second * 65 TaskQueuePreScheduleTimeWindow = time.Minute * 3 )
Task Queue
View Source
const ( QueueRedisQueueName = "webhookx:proxy_queue" QueueRedisGroupName = "group_default" QueueRedisConsumerName = "consumer_default" QueueRedisVisibilityTimeout = time.Second * 60 )
Redis Queue
View Source
const ( RequeueBatch = 20 RequeueInterval = time.Second * 60 )
View Source
const ( Namespace string = "webhookx" EventCacheKey CacheKey = "events" EndpointCacheKey CacheKey = "endpoints" EndpointPluginsKey CacheKey = "endpoint_plugins" SourcePluginsKey CacheKey = "source_plugins" SourceCacheKey CacheKey = "sources" WorkspaceCacheKey CacheKey = "workspaces" AttemptCacheKey CacheKey = "attempts" PluginCacheKey CacheKey = "plugins" AttemptDetailCacheKey CacheKey = "attempt_details" WorkspaceEndpointsKey CacheKey = "workspaces_endpoints" )
Variables ¶
View Source
var ( HeaderEventId = "X-Webhookx-Event-Id" DefaultResponseHeaders = []Header{ {Name: "Server", Value: "WebhookX/" + config.VERSION}, } DefaultDelivererRequestHeaders = []Header{ {Name: "User-Agent", Value: "WebhookX/" + config.VERSION}, {Name: "Content-Type", Value: "application/json; charset=utf-8"}, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.