Versions in this module Expand all Collapse all v2 v2.0.0 Apr 23, 2020 Changes in this version + const FOREVER + type LongpollManager struct + SubscriptionHandler func(w http.ResponseWriter, r *http.Request) + func CreateCustomManager(maxTimeoutSeconds, eventBufferSize int, loggingEnabled bool) (*LongpollManager, error) + func CreateManager() (*LongpollManager, error) + func StartLongpoll(opts Options) (*LongpollManager, error) + func (m *LongpollManager) Publish(category string, data interface{}) error + func (m *LongpollManager) Shutdown() + type Options struct + DeleteEventAfterFirstRetrieval bool + EventTimeToLiveSeconds int + LoggingEnabled bool + MaxEventBufferSize int + MaxLongpollTimeoutSeconds int Other modules containing this package github.com/amanessinger/golongpoll