data

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTopicMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTopicMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTopicMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type TopicMessage

type TopicMessage struct {
	Version        uint32 `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"`
	Payload        []byte `protobuf:"bytes,2,opt,name=Payload,proto3" json:"Payload,omitempty"`
	Timestamp      int64  `protobuf:"varint,3,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Pk             []byte `protobuf:"bytes,4,opt,name=Pk,proto3" json:"Pk,omitempty"`
	SignatureOnPid []byte `protobuf:"bytes,5,opt,name=SignatureOnPid,proto3" json:"SignatureOnPid,omitempty"`
}

func (*TopicMessage) Descriptor

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

func (*TopicMessage) Equal

func (this *TopicMessage) Equal(that interface{}) bool

func (*TopicMessage) GetPayload

func (m *TopicMessage) GetPayload() []byte

func (*TopicMessage) GetPk

func (m *TopicMessage) GetPk() []byte

func (*TopicMessage) GetSignatureOnPid

func (m *TopicMessage) GetSignatureOnPid() []byte

func (*TopicMessage) GetTimestamp

func (m *TopicMessage) GetTimestamp() int64

func (*TopicMessage) GetVersion

func (m *TopicMessage) GetVersion() uint32

func (*TopicMessage) GoString

func (this *TopicMessage) GoString() string

func (*TopicMessage) Marshal

func (m *TopicMessage) Marshal() (dAtA []byte, err error)

func (*TopicMessage) MarshalTo

func (m *TopicMessage) MarshalTo(dAtA []byte) (int, error)

func (*TopicMessage) MarshalToSizedBuffer

func (m *TopicMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TopicMessage) ProtoMessage

func (*TopicMessage) ProtoMessage()

func (*TopicMessage) Reset

func (m *TopicMessage) Reset()

func (*TopicMessage) Size

func (m *TopicMessage) Size() (n int)

func (*TopicMessage) String

func (this *TopicMessage) String() string

func (*TopicMessage) Unmarshal

func (m *TopicMessage) Unmarshal(dAtA []byte) error

func (*TopicMessage) XXX_DiscardUnknown

func (m *TopicMessage) XXX_DiscardUnknown()

func (*TopicMessage) XXX_Marshal

func (m *TopicMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopicMessage) XXX_Merge

func (m *TopicMessage) XXX_Merge(src proto.Message)

func (*TopicMessage) XXX_Size

func (m *TopicMessage) XXX_Size() int

func (*TopicMessage) XXX_Unmarshal

func (m *TopicMessage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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