mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00

* initial commit * add protoc-gen-gofast * update generated files * fix linting * fix consumers error on message conversion * fix copying values on transformers * initial commit * initial commit * add protoc-gen-gofast * update generated files * fix linting * fix consumers error on message conversion * fix copying values on transformers * embedded for forward compatible. * remove gogo * embedded for forward compatible. * update protoc compiler * fix linting * remove hex comment Signed-off-by: rodneyosodo <socials@rodneyosodo.com>
18 lines
404 B
Protocol Buffer
18 lines
404 B
Protocol Buffer
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
syntax = "proto3";
|
|
package messaging;
|
|
|
|
option go_package = "./messaging";
|
|
|
|
// Message represents a message emitted by the Mainflux adapters layer.
|
|
message Message {
|
|
string channel = 1;
|
|
string subtopic = 2;
|
|
string publisher = 3;
|
|
string protocol = 4;
|
|
bytes payload = 5;
|
|
int64 created = 6; // Unix timestamp in nanoseconds
|
|
}
|