Documentation
¶
Index ¶
Constants ¶
View Source
const ( PubSubDriverMemory pubSubDriver = "memory" PubSubDriverRedis pubSubDriver = "redis" )
View Source
const ( StorageDriverMemory storageDriver = "memory" StorageDriverRedis storageDriver = "redis" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MaxRequests uint16 SessionTTL time.Duration IgnoreHeaderPrefixes []string MaxRequestBodySize uint32 // maximal webhook request body size (in bytes), zero means unlimited StorageDriver storageDriver PubSubDriver pubSubDriver WebSockets struct { MaxClients uint32 // zero means unlimited MaxLifetime time.Duration // zero means unlimited } }
Click to show internal directories.
Click to hide internal directories.