Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrProcessing returned when a view is already rebuilding. ErrProcessing = errors.New("View is already processing") // ErrClosed returned when a view has been shutdown and is no longer servicing // requests. ErrClosed = errors.New("View is not current running") )
Functions ¶
This section is empty.
Types ¶
type OpenPolls ¶
OpenPolls keeps a cache of the current open polls
func NewOpenPolls ¶
func NewOpenPolls( eventStore eventstore.EventStore, ) (*OpenPolls, error)
NewOpenPolls creates a new NewOpenPolls
func (*OpenPolls) Close ¶
Close implements io.Closer, unsubscribes from EventManager and shuts down goroutine.
Click to show internal directories.
Click to hide internal directories.