Versions in this module Expand all Collapse all v1 v1.1.0 Aug 16, 2016 Changes in this version + const FOREVER type LongpollManager + func StartLongpoll(opts Options) (*LongpollManager, error) + type Options struct + DeleteEventAfterFirstRetrieval bool + EventTimeToLiveSeconds int + LoggingEnabled bool + MaxEventBufferSize int + MaxLongpollTimeoutSeconds int v1.0.0 Nov 11, 2015 Changes in this version + 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 (m *LongpollManager) Publish(category string, data interface{}) error + func (m *LongpollManager) Shutdown()