Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testpb_proto protoreflect.FileDescriptor
View Source
var FrameServiceDesc = entity.EntityDesc{ TypeName: "testpb.FrameService", HandlerType: (*FrameService)(nil), Methods: map[string]entity.MethodDesc{ "StartFrame": { MethodName: "StartFrame", Handler: _FrameService_StartFrame_Remote_Handler, LocalHandler: _FrameService_StartFrame_Local_Handler, }, }, Metadata: "testpb.proto", }
Functions ¶
func RegisterFrameService ¶
func RegisterFrameService(etyMgr *entity.EntityManager, impl FrameService)
Types ¶
type Frame ¶
type Frame struct { }
func NewFrameClient ¶
func NewFrameClient() *Frame
func (*Frame) StartFrame ¶
func (t *Frame) StartFrame(c entity.Context, req *StartFrameReq) (*StartFrameRsp, error)
type FrameService ¶
type FrameService interface { entity.IService // StartFrame StartFrame(c entity.Context, req *StartFrameReq) (*StartFrameRsp, error) }
FrameService
type StartFrameReq ¶
type StartFrameReq struct {
// contains filtered or unexported fields
}
func (*StartFrameReq) Descriptor
deprecated
func (*StartFrameReq) Descriptor() ([]byte, []int)
Deprecated: Use StartFrameReq.ProtoReflect.Descriptor instead.
func (*StartFrameReq) ProtoMessage ¶
func (*StartFrameReq) ProtoMessage()
func (*StartFrameReq) ProtoReflect ¶
func (x *StartFrameReq) ProtoReflect() protoreflect.Message
func (*StartFrameReq) Reset ¶
func (x *StartFrameReq) Reset()
func (*StartFrameReq) String ¶
func (x *StartFrameReq) String() string
type StartFrameRsp ¶
type StartFrameRsp struct { FrameSvr uint64 `protobuf:"varint,1,opt,name=FrameSvr,proto3" json:"FrameSvr,omitempty"` // contains filtered or unexported fields }
func (*StartFrameRsp) Descriptor
deprecated
func (*StartFrameRsp) Descriptor() ([]byte, []int)
Deprecated: Use StartFrameRsp.ProtoReflect.Descriptor instead.
func (*StartFrameRsp) GetFrameSvr ¶
func (x *StartFrameRsp) GetFrameSvr() uint64
func (*StartFrameRsp) ProtoMessage ¶
func (*StartFrameRsp) ProtoMessage()
func (*StartFrameRsp) ProtoReflect ¶
func (x *StartFrameRsp) ProtoReflect() protoreflect.Message
func (*StartFrameRsp) Reset ¶
func (x *StartFrameRsp) Reset()
func (*StartFrameRsp) String ¶
func (x *StartFrameRsp) String() string
Click to show internal directories.
Click to hide internal directories.