events

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AA

type AA struct {
	ID        string `json:"id"`
	Type      string `json:"type"`
	AAA       string `json:"aaa"`
	Timestamp int64  `json:"timestamp"`
}

func (AA) Decode

func (a AA) Decode(data []byte) (interface{}, error)

func (AA) Encode

func (a AA) Encode(data interface{}) ([]byte, error)

type AB

type AB struct {
	ID         string `json:"id"`
	Type       string `json:"type"`
	AAA        string `json:"aaa"`
	BBB        string `json:"bbb"`
	TimestampA int64  `json:"timestamp_a"`
	TimestampB int64  `json:"timestamp_b"`
}

func (AB) Decode

func (a AB) Decode(data []byte) (interface{}, error)

func (AB) Encode

func (a AB) Encode(data interface{}) ([]byte, error)

type ABC

type ABC struct {
	ID         string `json:"id"`
	Type       string `json:"type"`
	AAA        string `json:"aaa"`
	BBB        string `json:"bbb"`
	CCC        string `json:"ccc"`
	TimestampA int64  `json:"timestamp_a"`
	TimestampB int64  `json:"timestamp_b"`
	TimestampC int64  `json:"timestamp_c"`
}

func (ABC) Decode

func (a ABC) Decode(data []byte) (interface{}, error)

func (ABC) Encode

func (a ABC) Encode(data interface{}) ([]byte, error)

type BB

type BB struct {
	ID        string `json:"id"`
	Type      string `json:"type"`
	BBB       string `json:"bbb"`
	Timestamp int64  `json:"timestamp"`
}

func (BB) Decode

func (ad BB) Decode(data []byte) (interface{}, error)

func (BB) Encode

func (ad BB) Encode(data interface{}) ([]byte, error)

type CC

type CC struct {
	ID        string `json:"id"`
	Type      string `json:"type"`
	CCC       string `json:"ccc"`
	Timestamp int64  `json:"timestamp"`
}

func (CC) Decode

func (ad CC) Decode(data []byte) (interface{}, error)

func (CC) Encode

func (ad CC) Encode(data interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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