Documentation ¶
Index ¶
Constants ¶
View Source
const L = "EVENT"
Variables ¶
This section is empty.
Functions ¶
func ParseSubmission ¶
func ParseSubmission(b B) (t *Submission, rem B, err E)
Types ¶
type Result ¶
type Result struct { Subscription *subscription.Id Event *event.T }
Result is an event matching a filter associated with a subscription.
type Submission ¶
Submission is a request from a client for a realy to store an event.
func NewSubmission ¶
func NewSubmission() *Submission
func NewSubmissionWith ¶
func NewSubmissionWith(ev *event.T) *Submission
func (*Submission) Label ¶
func (en *Submission) Label() string
func (*Submission) MarshalJSON ¶
func (en *Submission) MarshalJSON(dst B) (b B, err error)
func (*Submission) UnmarshalJSON ¶
func (en *Submission) UnmarshalJSON(b B) (r B, err error)
Click to show internal directories.
Click to hide internal directories.