Documentation ¶
Index ¶
Constants ¶
View Source
const ( // With this Convoy will not process more than 3000 // concurrent requests per minute. We use github.com/go-chi/httprate // which uses a sliding window algorithm, so we should be fine :) // TODO(subomi): We need to configure rate limiting to be per // client as well as implement distributed limiting backed by // a distributed key value store. RATE_LIMIT = 5000 RATE_LIMIT_DURATION = 1 * time.Minute )
View Source
const ( StreamGroup = "taskq" EventDeliveryIDLength = 12 )
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-03-01 13:50:56.688287 +0100 WAT m=+57.746044126
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag at 2022-03-01 13:50:56.688287 +0100 WAT m=+57.746044126 |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.