Versions in this module Expand all Collapse all v0 v0.5.1 Jun 23, 2025 v0.5.0 Jun 23, 2025 Changes in this version + var File_message_proto protoreflect.FileDescriptor + var ID_name = map[int32]string + var ID_value = map[string]int32 + type CustomPacker struct + func (p *CustomPacker) Pack(msg *easytcp.Message) ([]byte, error) + func (p *CustomPacker) Unpack(reader io.Reader) (*easytcp.Message, error) + type FooReq struct + Bar string + Buz int32 + func (*FooReq) Descriptor() ([]byte, []int) + func (*FooReq) ProtoMessage() + func (x *FooReq) GetBar() string + func (x *FooReq) GetBuz() int32 + func (x *FooReq) ProtoReflect() protoreflect.Message + func (x *FooReq) Reset() + func (x *FooReq) String() string + type FooResp struct + Code int32 + Message string + func (*FooResp) Descriptor() ([]byte, []int) + func (*FooResp) ProtoMessage() + func (x *FooResp) GetCode() int32 + func (x *FooResp) GetMessage() string + func (x *FooResp) ProtoReflect() protoreflect.Message + func (x *FooResp) Reset() + func (x *FooResp) String() string + type ID int32 + const ID_FooReqID + const ID_FooRespID + const ID__ + func (ID) Descriptor() protoreflect.EnumDescriptor + func (ID) EnumDescriptor() ([]byte, []int) + func (ID) Type() protoreflect.EnumType + func (x ID) Enum() *ID + func (x ID) Number() protoreflect.EnumNumber + func (x ID) String() string