Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddChannelEvent ¶
func AddChannelEvent(db database.Connector, channel string, evt SocketMessage) error
func Register ¶
func Register(args plugins.RegistrationArguments) error
Types ¶
type SocketMessage ¶
type SocketMessage struct { IsLive bool `json:"is_live"` Time time.Time `json:"time"` Type string `json:"type"` Fields *plugins.FieldCollection `json:"fields"` }
func GetChannelEvents ¶
func GetChannelEvents(db database.Connector, channel string) ([]SocketMessage, error)
Click to show internal directories.
Click to hide internal directories.