Documentation ¶
Index ¶
Constants ¶
View Source
const ( RATE_LIMIT = 5000 RATE_LIMIT_DURATION = "1m" HTTP_TIMEOUT = "30s" )
View Source
const ( EventProcessor TaskName = "EventProcessor" DeadLetterProcessor TaskName = "DeadLetterProcessor" CreateEventProcessor TaskName = "CreateEventProcessor" CreateDynamicEventProcessor TaskName = "CreateDynamicEventProcessor" MetaEventProcessor TaskName = "MetaEventProcessor" NotificationProcessor TaskName = "NotificationProcessor" // todo(raymond): remove this and it's references IndexDocument TaskName = "index document" TokenizeSearch TaskName = "tokenize search" TokenizeSearchForProject TaskName = "tokenize search for project" DailyAnalytics TaskName = "daily analytics" StreamCliEventsProcessor TaskName = "StreamCliEventsProcessor" MonitorTwitterSources TaskName = "monitor twitter sources" RetentionPolicies TaskName = "retention_policies" EmailProcessor TaskName = "EmailProcessor" ExpireSecretsProcessor TaskName = "ExpireSecretsProcessor" DeleteArchivedTasksProcessor TaskName = "DeleteArchivedTasksProcessor" EndpointsCacheKey CacheKey = "endpoints" OrganisationsCacheKey CacheKey = "organisations" OrganisationMemberCacheKey CacheKey = "organisation_members" ProjectsCacheKey CacheKey = "projects" TokenCacheKey CacheKey = "tokens" SourceCacheKey CacheKey = "sources" IdempotencyCacheKey CacheKey = "dedup" )
View Source
const ( DefaultOnPremDir = "/var/convoy/export" TmpExportDir = "/tmp/convoy/export" )
Exports dir
View Source
const (
Concurrency = 100
)
View Source
const (
EventDeliveryIDLength = 12
)
Variables ¶
View Source
var F embed.FS
View Source
var MigrationFiles embed.FS
Functions ¶
func GetVersion ¶ added in v0.4.10
func GetVersion() string
TODO(subomi): This needs to be refactored for everywhere we depend on this code.
func GetVersionFromFS ¶ added in v0.9.2
Types ¶
type HttpMethod ¶
type HttpMethod string
const ( HttpPost HttpMethod = "POST" HttpGet HttpMethod = "GET" )
type QueueName ¶ added in v0.6.0
type QueueName string
const ( EventQueue QueueName = "EventQueue" CreateEventQueue QueueName = "CreateEventQueue" MetaEventQueue QueueName = "MetaEventQueue" SearchIndexQueue QueueName = "SearchIndexQueue" StreamQueue QueueName = "StreamQueue" ScheduleQueue QueueName = "ScheduleQueue" DefaultQueue QueueName = "DefaultQueue" )
queues
Directories ¶
Path | Synopsis |
---|---|
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2023-07-27 11:10:15.044479 +0100 BST m=+1.062988834
|
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2023-07-27 11:10:15.044479 +0100 BST m=+1.062988834 |
internal
|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
pkg
|
|
Click to show internal directories.
Click to hide internal directories.