v1

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Message

type Message struct {
	Data     []byte            `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Md       map[string]string `` /* 145-byte string literal not displayed */
	Error    string            `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	Key      string            `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	ValidSum uint32            `protobuf:"varint,5,opt,name=valid_sum,json=validSum,proto3" json:"valid_sum,omitempty"` // 校验和 验证消息合法性
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetData

func (x *Message) GetData() []byte

func (*Message) GetError

func (x *Message) GetError() string

func (*Message) GetKey

func (x *Message) GetKey() string

func (*Message) GetMd

func (x *Message) GetMd() map[string]string

func (*Message) GetValidSum

func (x *Message) GetValidSum() uint32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

Jump to

Keyboard shortcuts

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