Versions in this module Expand all Collapse all v2 v2.3.3 Mar 12, 2021 Changes in this version + var File_proto_point_point_proto protoreflect.FileDescriptor + func NewPointEndpoints() []*api.Endpoint + func RegisterPointHandler(s server.Server, hdlr PointHandler, opts ...server.HandlerOption) error + type IdRequest struct + Id uint32 + func (*IdRequest) Descriptor() ([]byte, []int) + func (*IdRequest) ProtoMessage() + func (x *IdRequest) GetId() uint32 + func (x *IdRequest) ProtoReflect() protoreflect.Message + func (x *IdRequest) Reset() + func (x *IdRequest) String() string + type PointHandler interface + GetPointByID func(context.Context, *IdRequest, *PointResponse) error + GetPoints func(context.Context, *Query, *PointsResponse) error + type PointResponse struct + Angle uint32 + ChangeTime uint32 + Curvature uint32 + PlcBits uint32 + PlcWord uint32 + PlcWord2 uint32 + PointID uint32 + Remark string + X uint32 + Y uint32 + func (*PointResponse) Descriptor() ([]byte, []int) + func (*PointResponse) ProtoMessage() + func (x *PointResponse) GetAngle() uint32 + func (x *PointResponse) GetChangeTime() uint32 + func (x *PointResponse) GetCurvature() uint32 + func (x *PointResponse) GetPlcBits() uint32 + func (x *PointResponse) GetPlcWord() uint32 + func (x *PointResponse) GetPlcWord2() uint32 + func (x *PointResponse) GetPointID() uint32 + func (x *PointResponse) GetRemark() string + func (x *PointResponse) GetX() uint32 + func (x *PointResponse) GetY() uint32 + func (x *PointResponse) ProtoReflect() protoreflect.Message + func (x *PointResponse) Reset() + func (x *PointResponse) String() string + type PointService interface + GetPointByID func(ctx context.Context, in *IdRequest, opts ...client.CallOption) (*PointResponse, error) + GetPoints func(ctx context.Context, in *Query, opts ...client.CallOption) (*PointsResponse, error) + func NewPointService(name string, c client.Client) PointService + type PointsResponse struct + Points []*PointResponse + TotalNumber uint32 + Totalpages uint32 + func (*PointsResponse) Descriptor() ([]byte, []int) + func (*PointsResponse) ProtoMessage() + func (x *PointsResponse) GetPoints() []*PointResponse + func (x *PointsResponse) GetTotalNumber() uint32 + func (x *PointsResponse) GetTotalpages() uint32 + func (x *PointsResponse) ProtoReflect() protoreflect.Message + func (x *PointsResponse) Reset() + func (x *PointsResponse) String() string + type Query struct + Limit uint32 + Offset uint32 + Page uint32 + PerPage uint32 + QueryString string + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (x *Query) GetLimit() uint32 + func (x *Query) GetOffset() uint32 + func (x *Query) GetPage() uint32 + func (x *Query) GetPerPage() uint32 + func (x *Query) GetQueryString() string + func (x *Query) ProtoReflect() protoreflect.Message + func (x *Query) Reset() + func (x *Query) String() string