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" ApplicationsCacheKey CacheKey = "applications" GroupsCacheKey CacheKey = "groups" )
View Source
const ( StreamGroup = "taskq" EventDeliveryIDLength = 12 )
View Source
const ( MaxNumWorkers = 1000 // Maximum number of goroutines fetching messages MaxNumFetcher = 10 // Number of messages reserved by a fetcher in the queue in one request. ReservationSize = 1000 //Size of the internal buffer BufferSize = 100000 )
Variables ¶
View Source
var DefaultLevels = []log.Level{ log.ErrorLevel, log.PanicLevel, log.FatalLevel, log.WarnLevel, }
Functions ¶
func GetVersion ¶ added in v0.4.10
func GetVersion() string
func ReadVersion ¶ added in v0.4.10
Types ¶
type SentryHook ¶
func NewSentryHook ¶
func NewSentryHook(levels []log.Level) *SentryHook
func (*SentryHook) Levels ¶
func (s *SentryHook) Levels() []log.Level
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag at 2022-04-27 22:22:05.605700283 +0100 WAT m=+53.632153767
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag at 2022-04-27 22:22:05.605700283 +0100 WAT m=+53.632153767 |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.