message

package
v0.0.0-...-78e7222 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidIdentifier

func IsValidIdentifier(id identifier.Identifier) bool

Types

type Message

type Message struct {
	Id        string `json:"id" bson:"id"`
	Timestamp int64  `json:"timeStamp" bson:"timeStamp"`
	DeviceId  string `json:"deviceId" bson:"deviceId"`
	Data      []byte `json:"data" bson:"data"`
}

func (*Message) SetId

func (m *Message) SetId(id string)

Jump to

Keyboard shortcuts

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