protobuf

package
v0.0.0-...-7dfe183 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DataJSON

type DataJSON struct {
	Id              int32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ClientTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=client_timestamp,json=clientTimestamp,proto3" json:"client_timestamp,omitempty"`
	ServerTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=server_timestamp,json=serverTimestamp,proto3" json:"server_timestamp,omitempty"`
	Payload         []byte               `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*DataJSON) Descriptor deprecated

func (*DataJSON) Descriptor() ([]byte, []int)

Deprecated: Use DataJSON.ProtoReflect.Descriptor instead.

func (*DataJSON) GetClientTimestamp

func (x *DataJSON) GetClientTimestamp() *timestamp.Timestamp

func (*DataJSON) GetId

func (x *DataJSON) GetId() int32

func (*DataJSON) GetPayload

func (x *DataJSON) GetPayload() []byte

func (*DataJSON) GetServerTimestamp

func (x *DataJSON) GetServerTimestamp() *timestamp.Timestamp

func (*DataJSON) ProtoMessage

func (*DataJSON) ProtoMessage()

func (*DataJSON) ProtoReflect

func (x *DataJSON) ProtoReflect() protoreflect.Message

func (*DataJSON) Reset

func (x *DataJSON) Reset()

func (*DataJSON) String

func (x *DataJSON) String() string

Jump to

Keyboard shortcuts

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