model

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event added in v0.0.10

type Event struct {
	Channel  string                 `json:"channel"`
	Data     map[string]interface{} `json:"data"`
	Metadata map[string]interface{} `json:"metadata"`
}

type EventDetail added in v0.0.21

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 added in v0.0.17

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 added in v0.0.12

type ReceiveOpts struct {
	Channel string `json:"channel"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL