package
Version:
v0.0.23
Opens a new window with list of versions in this module.
Published: Feb 10, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Event struct {
Channel string `json:"channel"`
Data map[string]interface{} `json:"data"`
Metadata map[string]interface{} `json:"metadata"`
}
type EventDetail struct {
ID string `json:"id"`
Channel string `json:"channel"`
Data map[string]interface{} `json:"data"`
Metadata map[string]interface{} `json:"metadata"`
Claims map[string]interface{} `json:"claims"`
Time time.Time `json:"time"`
}
type HistoryOpts struct {
Channel string `json:"channel"`
Min *time.Time `json:"min"`
Max *time.Time `json:"max"`
Limit *int `json:"limit"`
Offset *int `json:"offset"`
}
type ReceiveOpts struct {
Channel string `json:"channel"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.