Documentation ¶
Index ¶
Constants ¶
View Source
const L = "EVENT"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Subscription *subscription.Id Event *event.T }
Result is an event matching a filter associated with a subscription.
func NewResultWith ¶
func ParseResult ¶
func ParseResult(b by) (t *Result, rem by, err er)
func (*Result) MarshalJSON ¶
func (en *Result) MarshalJSON(dst by) (b by, err er)
func (*Result) UnmarshalJSON ¶
func (en *Result) UnmarshalJSON(b by) (r by, err er)
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 ParseSubmission ¶
func ParseSubmission(b by) (t *Submission, rem by, err er)
func (*Submission) Label ¶
func (en *Submission) Label() string
func (*Submission) MarshalJSON ¶
func (en *Submission) MarshalJSON(dst by) (b by, err er)
func (*Submission) UnmarshalJSON ¶
func (en *Submission) UnmarshalJSON(b by) (r by, err er)
func (*Submission) Write ¶
func (en *Submission) Write(w io.Writer) (err er)
Click to show internal directories.
Click to hide internal directories.