Documentation ¶
Index ¶
- Variables
- func RegisterRobotAPIServer(s *grpc.Server, srv RobotAPIServer)
- type AttentionAction
- type BaseReq
- func (*BaseReq) Descriptor() ([]byte, []int)
- func (m *BaseReq) GetId() int64
- func (m *BaseReq) GetKey() string
- func (m *BaseReq) GetPageNum() int32
- func (m *BaseReq) GetPageSize() int32
- func (m *BaseReq) Marshal() (dAtA []byte, err error)
- func (m *BaseReq) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseReq) ProtoMessage()
- func (m *BaseReq) Reset()
- func (m *BaseReq) Size() (n int)
- func (m *BaseReq) String() string
- func (m *BaseReq) Unmarshal(dAtA []byte) error
- func (m *BaseReq) XXX_DiscardUnknown()
- func (m *BaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseReq) XXX_Merge(src proto.Message)
- func (m *BaseReq) XXX_Size() int
- func (m *BaseReq) XXX_Unmarshal(b []byte) error
- type FrontendBusiness
- func (*FrontendBusiness) Descriptor() ([]byte, []int)
- func (m *FrontendBusiness) GetId() int64
- func (m *FrontendBusiness) GetName() string
- func (m *FrontendBusiness) Marshal() (dAtA []byte, err error)
- func (m *FrontendBusiness) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendBusiness) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendBusiness) ProtoMessage()
- func (m *FrontendBusiness) Reset()
- func (m *FrontendBusiness) Size() (n int)
- func (m *FrontendBusiness) String() string
- func (m *FrontendBusiness) Unmarshal(dAtA []byte) error
- func (m *FrontendBusiness) XXX_DiscardUnknown()
- func (m *FrontendBusiness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendBusiness) XXX_Merge(src proto.Message)
- func (m *FrontendBusiness) XXX_Size() int
- func (m *FrontendBusiness) XXX_Unmarshal(b []byte) error
- type FrontendComponent
- func (*FrontendComponent) Descriptor() ([]byte, []int)
- func (m *FrontendComponent) GetId() int64
- func (m *FrontendComponent) GetName() string
- func (m *FrontendComponent) Marshal() (dAtA []byte, err error)
- func (m *FrontendComponent) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendComponent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendComponent) ProtoMessage()
- func (m *FrontendComponent) Reset()
- func (m *FrontendComponent) Size() (n int)
- func (m *FrontendComponent) String() string
- func (m *FrontendComponent) Unmarshal(dAtA []byte) error
- func (m *FrontendComponent) XXX_DiscardUnknown()
- func (m *FrontendComponent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendComponent) XXX_Merge(src proto.Message)
- func (m *FrontendComponent) XXX_Size() int
- func (m *FrontendComponent) XXX_Unmarshal(b []byte) error
- type FrontendDepartment
- func (*FrontendDepartment) Descriptor() ([]byte, []int)
- func (m *FrontendDepartment) GetId() int64
- func (m *FrontendDepartment) GetName() string
- func (m *FrontendDepartment) Marshal() (dAtA []byte, err error)
- func (m *FrontendDepartment) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendDepartment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendDepartment) ProtoMessage()
- func (m *FrontendDepartment) Reset()
- func (m *FrontendDepartment) Size() (n int)
- func (m *FrontendDepartment) String() string
- func (m *FrontendDepartment) Unmarshal(dAtA []byte) error
- func (m *FrontendDepartment) XXX_DiscardUnknown()
- func (m *FrontendDepartment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendDepartment) XXX_Merge(src proto.Message)
- func (m *FrontendDepartment) XXX_Size() int
- func (m *FrontendDepartment) XXX_Unmarshal(b []byte) error
- type FrontendFoundChannel
- func (*FrontendFoundChannel) Descriptor() ([]byte, []int)
- func (m *FrontendFoundChannel) GetId() int64
- func (m *FrontendFoundChannel) GetName() string
- func (m *FrontendFoundChannel) Marshal() (dAtA []byte, err error)
- func (m *FrontendFoundChannel) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendFoundChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendFoundChannel) ProtoMessage()
- func (m *FrontendFoundChannel) Reset()
- func (m *FrontendFoundChannel) Size() (n int)
- func (m *FrontendFoundChannel) String() string
- func (m *FrontendFoundChannel) Unmarshal(dAtA []byte) error
- func (m *FrontendFoundChannel) XXX_DiscardUnknown()
- func (m *FrontendFoundChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendFoundChannel) XXX_Merge(src proto.Message)
- func (m *FrontendFoundChannel) XXX_Size() int
- func (m *FrontendFoundChannel) XXX_Unmarshal(b []byte) error
- type FrontendMalfunction
- func (*FrontendMalfunction) Descriptor() ([]byte, []int)
- func (m *FrontendMalfunction) GetId() int64
- func (m *FrontendMalfunction) GetName() string
- func (m *FrontendMalfunction) Marshal() (dAtA []byte, err error)
- func (m *FrontendMalfunction) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendMalfunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendMalfunction) ProtoMessage()
- func (m *FrontendMalfunction) Reset()
- func (m *FrontendMalfunction) Size() (n int)
- func (m *FrontendMalfunction) String() string
- func (m *FrontendMalfunction) Unmarshal(dAtA []byte) error
- func (m *FrontendMalfunction) XXX_DiscardUnknown()
- func (m *FrontendMalfunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendMalfunction) XXX_Merge(src proto.Message)
- func (m *FrontendMalfunction) XXX_Size() int
- func (m *FrontendMalfunction) XXX_Unmarshal(b []byte) error
- type FrontendReplay
- func (*FrontendReplay) Descriptor() ([]byte, []int)
- func (m *FrontendReplay) GetId() int64
- func (m *FrontendReplay) GetName() string
- func (m *FrontendReplay) Marshal() (dAtA []byte, err error)
- func (m *FrontendReplay) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendReplay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendReplay) ProtoMessage()
- func (m *FrontendReplay) Reset()
- func (m *FrontendReplay) Size() (n int)
- func (m *FrontendReplay) String() string
- func (m *FrontendReplay) Unmarshal(dAtA []byte) error
- func (m *FrontendReplay) XXX_DiscardUnknown()
- func (m *FrontendReplay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendReplay) XXX_Merge(src proto.Message)
- func (m *FrontendReplay) XXX_Size() int
- func (m *FrontendReplay) XXX_Unmarshal(b []byte) error
- type FrontendUser
- func (*FrontendUser) Descriptor() ([]byte, []int)
- func (m *FrontendUser) GetAdAccount() string
- func (m *FrontendUser) GetAvatarUrl() string
- func (m *FrontendUser) GetId() int64
- func (m *FrontendUser) GetNickname() string
- func (m *FrontendUser) GetWxAccount() string
- func (m *FrontendUser) Marshal() (dAtA []byte, err error)
- func (m *FrontendUser) MarshalTo(dAtA []byte) (int, error)
- func (m *FrontendUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FrontendUser) ProtoMessage()
- func (m *FrontendUser) Reset()
- func (m *FrontendUser) Size() (n int)
- func (m *FrontendUser) String() string
- func (m *FrontendUser) Unmarshal(dAtA []byte) error
- func (m *FrontendUser) XXX_DiscardUnknown()
- func (m *FrontendUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FrontendUser) XXX_Merge(src proto.Message)
- func (m *FrontendUser) XXX_Size() int
- func (m *FrontendUser) XXX_Unmarshal(b []byte) error
- type IDReq
- func (*IDReq) Descriptor() ([]byte, []int)
- func (m *IDReq) GetId() int64
- func (m *IDReq) Marshal() (dAtA []byte, err error)
- func (m *IDReq) MarshalTo(dAtA []byte) (int, error)
- func (m *IDReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDReq) ProtoMessage()
- func (m *IDReq) Reset()
- func (m *IDReq) Size() (n int)
- func (m *IDReq) String() string
- func (m *IDReq) Unmarshal(dAtA []byte) error
- func (m *IDReq) XXX_DiscardUnknown()
- func (m *IDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDReq) XXX_Merge(src proto.Message)
- func (m *IDReq) XXX_Size() int
- func (m *IDReq) XXX_Unmarshal(b []byte) error
- type IDReqs
- func (*IDReqs) Descriptor() ([]byte, []int)
- func (m *IDReqs) GetIds() []int64
- func (m *IDReqs) Marshal() (dAtA []byte, err error)
- func (m *IDReqs) MarshalTo(dAtA []byte) (int, error)
- func (m *IDReqs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDReqs) ProtoMessage()
- func (m *IDReqs) Reset()
- func (m *IDReqs) Size() (n int)
- func (m *IDReqs) String() string
- func (m *IDReqs) Unmarshal(dAtA []byte) error
- func (m *IDReqs) XXX_DiscardUnknown()
- func (m *IDReqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDReqs) XXX_Merge(src proto.Message)
- func (m *IDReqs) XXX_Size() int
- func (m *IDReqs) XXX_Unmarshal(b []byte) error
- type IDResp
- func (*IDResp) Descriptor() ([]byte, []int)
- func (m *IDResp) GetId() int64
- func (m *IDResp) Marshal() (dAtA []byte, err error)
- func (m *IDResp) MarshalTo(dAtA []byte) (int, error)
- func (m *IDResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDResp) ProtoMessage()
- func (m *IDResp) Reset()
- func (m *IDResp) Size() (n int)
- func (m *IDResp) String() string
- func (m *IDResp) Unmarshal(dAtA []byte) error
- func (m *IDResp) XXX_DiscardUnknown()
- func (m *IDResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDResp) XXX_Merge(src proto.Message)
- func (m *IDResp) XXX_Size() int
- func (m *IDResp) XXX_Unmarshal(b []byte) error
- type IncidentTargetType
- type KeyReq
- func (*KeyReq) Descriptor() ([]byte, []int)
- func (m *KeyReq) GetKey() string
- func (m *KeyReq) Marshal() (dAtA []byte, err error)
- func (m *KeyReq) MarshalTo(dAtA []byte) (int, error)
- func (m *KeyReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KeyReq) ProtoMessage()
- func (m *KeyReq) Reset()
- func (m *KeyReq) Size() (n int)
- func (m *KeyReq) String() string
- func (m *KeyReq) Unmarshal(dAtA []byte) error
- func (m *KeyReq) XXX_DiscardUnknown()
- func (m *KeyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyReq) XXX_Merge(src proto.Message)
- func (m *KeyReq) XXX_Size() int
- func (m *KeyReq) XXX_Unmarshal(b []byte) error
- type ListReq
- func (*ListReq) Descriptor() ([]byte, []int)
- func (m *ListReq) GetAsc() string
- func (m *ListReq) GetEtime() int64
- func (m *ListReq) GetId() int64
- func (m *ListReq) GetKey() string
- func (m *ListReq) GetMine() int64
- func (m *ListReq) GetOrderby() string
- func (m *ListReq) GetPageNum() int64
- func (m *ListReq) GetPageSize() int64
- func (m *ListReq) GetStime() int64
- func (m *ListReq) Marshal() (dAtA []byte, err error)
- func (m *ListReq) MarshalTo(dAtA []byte) (int, error)
- func (m *ListReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListReq) ProtoMessage()
- func (m *ListReq) Reset()
- func (m *ListReq) Size() (n int)
- func (m *ListReq) String() string
- func (m *ListReq) Unmarshal(dAtA []byte) error
- func (m *ListReq) XXX_DiscardUnknown()
- func (m *ListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListReq) XXX_Merge(src proto.Message)
- func (m *ListReq) XXX_Size() int
- func (m *ListReq) XXX_Unmarshal(b []byte) error
- type ListRobotReq
- func (*ListRobotReq) Descriptor() ([]byte, []int)
- func (m *ListRobotReq) Marshal() (dAtA []byte, err error)
- func (m *ListRobotReq) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRobotReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRobotReq) ProtoMessage()
- func (m *ListRobotReq) Reset()
- func (m *ListRobotReq) Size() (n int)
- func (m *ListRobotReq) String() string
- func (m *ListRobotReq) Unmarshal(dAtA []byte) error
- func (m *ListRobotReq) XXX_DiscardUnknown()
- func (m *ListRobotReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRobotReq) XXX_Merge(src proto.Message)
- func (m *ListRobotReq) XXX_Size() int
- func (m *ListRobotReq) XXX_Unmarshal(b []byte) error
- type ListRobotResp
- func (*ListRobotResp) Descriptor() ([]byte, []int)
- func (m *ListRobotResp) Marshal() (dAtA []byte, err error)
- func (m *ListRobotResp) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRobotResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRobotResp) ProtoMessage()
- func (m *ListRobotResp) Reset()
- func (m *ListRobotResp) Size() (n int)
- func (m *ListRobotResp) String() string
- func (m *ListRobotResp) Unmarshal(dAtA []byte) error
- func (m *ListRobotResp) XXX_DiscardUnknown()
- func (m *ListRobotResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRobotResp) XXX_Merge(src proto.Message)
- func (m *ListRobotResp) XXX_Size() int
- func (m *ListRobotResp) XXX_Unmarshal(b []byte) error
- type MapResp
- func (*MapResp) Descriptor() ([]byte, []int)
- func (m *MapResp) GetData() map[string]string
- func (m *MapResp) Marshal() (dAtA []byte, err error)
- func (m *MapResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MapResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MapResp) ProtoMessage()
- func (m *MapResp) Reset()
- func (m *MapResp) Size() (n int)
- func (m *MapResp) String() string
- func (m *MapResp) Unmarshal(dAtA []byte) error
- func (m *MapResp) XXX_DiscardUnknown()
- func (m *MapResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapResp) XXX_Merge(src proto.Message)
- func (m *MapResp) XXX_Size() int
- func (m *MapResp) XXX_Unmarshal(b []byte) error
- type Mine
- type Robot
- func (*Robot) Descriptor() ([]byte, []int)
- func (m *Robot) Marshal() (dAtA []byte, err error)
- func (m *Robot) MarshalTo(dAtA []byte) (int, error)
- func (m *Robot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Robot) ProtoMessage()
- func (m *Robot) Reset()
- func (m *Robot) Size() (n int)
- func (m *Robot) String() string
- func (m *Robot) Unmarshal(dAtA []byte) error
- func (m *Robot) XXX_DiscardUnknown()
- func (m *Robot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Robot) XXX_Merge(src proto.Message)
- func (m *Robot) XXX_Size() int
- func (m *Robot) XXX_Unmarshal(b []byte) error
- type RobotAPIClient
- type RobotAPIServer
- type RobotCReq
- func (*RobotCReq) Descriptor() ([]byte, []int)
- func (m *RobotCReq) Marshal() (dAtA []byte, err error)
- func (m *RobotCReq) MarshalTo(dAtA []byte) (int, error)
- func (m *RobotCReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RobotCReq) ProtoMessage()
- func (m *RobotCReq) Reset()
- func (m *RobotCReq) Size() (n int)
- func (m *RobotCReq) String() string
- func (m *RobotCReq) Unmarshal(dAtA []byte) error
- func (m *RobotCReq) XXX_DiscardUnknown()
- func (m *RobotCReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RobotCReq) XXX_Merge(src proto.Message)
- func (m *RobotCReq) XXX_Size() int
- func (m *RobotCReq) XXX_Unmarshal(b []byte) error
- type RobotForList
- func (*RobotForList) Descriptor() ([]byte, []int)
- func (m *RobotForList) Marshal() (dAtA []byte, err error)
- func (m *RobotForList) MarshalTo(dAtA []byte) (int, error)
- func (m *RobotForList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RobotForList) ProtoMessage()
- func (m *RobotForList) Reset()
- func (m *RobotForList) Size() (n int)
- func (m *RobotForList) String() string
- func (m *RobotForList) Unmarshal(dAtA []byte) error
- func (m *RobotForList) XXX_DiscardUnknown()
- func (m *RobotForList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RobotForList) XXX_Merge(src proto.Message)
- func (m *RobotForList) XXX_Size() int
- func (m *RobotForList) XXX_Unmarshal(b []byte) error
- type RobotUReq
- func (*RobotUReq) Descriptor() ([]byte, []int)
- func (m *RobotUReq) Marshal() (dAtA []byte, err error)
- func (m *RobotUReq) MarshalTo(dAtA []byte) (int, error)
- func (m *RobotUReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RobotUReq) ProtoMessage()
- func (m *RobotUReq) Reset()
- func (m *RobotUReq) Size() (n int)
- func (m *RobotUReq) String() string
- func (m *RobotUReq) Unmarshal(dAtA []byte) error
- func (m *RobotUReq) XXX_DiscardUnknown()
- func (m *RobotUReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RobotUReq) XXX_Merge(src proto.Message)
- func (m *RobotUReq) XXX_Size() int
- func (m *RobotUReq) XXX_Unmarshal(b []byte) error
- type RobotWithNickname
- func (*RobotWithNickname) Descriptor() ([]byte, []int)
- func (m *RobotWithNickname) Marshal() (dAtA []byte, err error)
- func (m *RobotWithNickname) MarshalTo(dAtA []byte) (int, error)
- func (m *RobotWithNickname) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RobotWithNickname) ProtoMessage()
- func (m *RobotWithNickname) Reset()
- func (m *RobotWithNickname) Size() (n int)
- func (m *RobotWithNickname) String() string
- func (m *RobotWithNickname) Unmarshal(dAtA []byte) error
- func (m *RobotWithNickname) XXX_DiscardUnknown()
- func (m *RobotWithNickname) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RobotWithNickname) XXX_Merge(src proto.Message)
- func (m *RobotWithNickname) XXX_Size() int
- func (m *RobotWithNickname) XXX_Unmarshal(b []byte) error
- type RobotWithTeamAndComponentIdName
- func (*RobotWithTeamAndComponentIdName) Descriptor() ([]byte, []int)
- func (m *RobotWithTeamAndComponentIdName) Marshal() (dAtA []byte, err error)
- func (m *RobotWithTeamAndComponentIdName) MarshalTo(dAtA []byte) (int, error)
- func (m *RobotWithTeamAndComponentIdName) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RobotWithTeamAndComponentIdName) ProtoMessage()
- func (m *RobotWithTeamAndComponentIdName) Reset()
- func (m *RobotWithTeamAndComponentIdName) Size() (n int)
- func (m *RobotWithTeamAndComponentIdName) String() string
- func (m *RobotWithTeamAndComponentIdName) Unmarshal(dAtA []byte) error
- func (m *RobotWithTeamAndComponentIdName) XXX_DiscardUnknown()
- func (m *RobotWithTeamAndComponentIdName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RobotWithTeamAndComponentIdName) XXX_Merge(src proto.Message)
- func (m *RobotWithTeamAndComponentIdName) XXX_Size() int
- func (m *RobotWithTeamAndComponentIdName) XXX_Unmarshal(b []byte) error
- type UnimplementedRobotAPIServer
- func (*UnimplementedRobotAPIServer) CreateRobot(ctx context.Context, req *RobotCReq) (*UpdateResp, error)
- func (*UnimplementedRobotAPIServer) DeleteRobot(ctx context.Context, req *IDReq) (*UpdateResp, error)
- func (*UnimplementedRobotAPIServer) GetRobot(ctx context.Context, req *IDReq) (*Robot, error)
- func (*UnimplementedRobotAPIServer) ListRobot(ctx context.Context, req *ListRobotReq) (*ListRobotResp, error)
- func (*UnimplementedRobotAPIServer) UpdateRobot(ctx context.Context, req *RobotUReq) (*UpdateResp, error)
- type UpdateResp
- func (*UpdateResp) Descriptor() ([]byte, []int)
- func (m *UpdateResp) GetMessage() string
- func (m *UpdateResp) Marshal() (dAtA []byte, err error)
- func (m *UpdateResp) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateResp) ProtoMessage()
- func (m *UpdateResp) Reset()
- func (m *UpdateResp) Size() (n int)
- func (m *UpdateResp) String() string
- func (m *UpdateResp) Unmarshal(dAtA []byte) error
- func (m *UpdateResp) XXX_DiscardUnknown()
- func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateResp) XXX_Merge(src proto.Message)
- func (m *UpdateResp) XXX_Size() int
- func (m *UpdateResp) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthRobot = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRobot = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRobot = fmt.Errorf("proto: unexpected end of group") )
View Source
var AttentionAction_name = map[int32]string{
0: "ATTENTION_ACTION_DEFAULT",
1: "ATTENTION_ACTION_DO",
2: "ATTENTION_ACTION_DONOT",
}
View Source
var AttentionAction_value = map[string]int32{
"ATTENTION_ACTION_DEFAULT": 0,
"ATTENTION_ACTION_DO": 1,
"ATTENTION_ACTION_DONOT": 2,
}
View Source
var IncidentTargetType_name = map[int32]string{
0: "INCIDENT_TARGET_TYPE_DEFAULT",
1: "INCIDENT_TARGET_TYPE_MALFUNCTION",
2: "INCIDENT_TARGET_TYPE_INCIDENT",
}
View Source
var IncidentTargetType_value = map[string]int32{
"INCIDENT_TARGET_TYPE_DEFAULT": 0,
"INCIDENT_TARGET_TYPE_MALFUNCTION": 1,
"INCIDENT_TARGET_TYPE_INCIDENT": 2,
}
View Source
var Mine_name = map[int32]string{
0: "MINE_DEFAULT",
1: "MINE_MINE",
}
View Source
var Mine_value = map[string]int32{
"MINE_DEFAULT": 0,
"MINE_MINE": 1,
}
Functions ¶
func RegisterRobotAPIServer ¶
func RegisterRobotAPIServer(s *grpc.Server, srv RobotAPIServer)
Types ¶
type AttentionAction ¶
type AttentionAction int32
const ( AttentionAction_ATTENTION_ACTION_DEFAULT AttentionAction = 0 AttentionAction_ATTENTION_ACTION_DO AttentionAction = 1 AttentionAction_ATTENTION_ACTION_DONOT AttentionAction = 2 )
func (AttentionAction) EnumDescriptor ¶
func (AttentionAction) EnumDescriptor() ([]byte, []int)
func (AttentionAction) String ¶
func (x AttentionAction) String() string
type BaseReq ¶
type BaseReq struct { // 模糊搜索 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"` // 分页 PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"page_size" form:"page_size"` // 分页 PageNum int32 `protobuf:"varint,3,opt,name=pageNum,proto3" json:"page_num" form:"page_num"` // id Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BaseReq) Descriptor ¶
func (*BaseReq) GetPageNum ¶
func (*BaseReq) GetPageSize ¶
func (*BaseReq) MarshalToSizedBuffer ¶
func (*BaseReq) ProtoMessage ¶
func (*BaseReq) ProtoMessage()
func (*BaseReq) XXX_DiscardUnknown ¶
func (m *BaseReq) XXX_DiscardUnknown()
func (*BaseReq) XXX_Marshal ¶
func (*BaseReq) XXX_Unmarshal ¶
type FrontendBusiness ¶
type FrontendBusiness struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendBusiness) Descriptor ¶
func (*FrontendBusiness) Descriptor() ([]byte, []int)
func (*FrontendBusiness) GetId ¶
func (m *FrontendBusiness) GetId() int64
func (*FrontendBusiness) GetName ¶
func (m *FrontendBusiness) GetName() string
func (*FrontendBusiness) Marshal ¶
func (m *FrontendBusiness) Marshal() (dAtA []byte, err error)
func (*FrontendBusiness) MarshalToSizedBuffer ¶
func (m *FrontendBusiness) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendBusiness) ProtoMessage ¶
func (*FrontendBusiness) ProtoMessage()
func (*FrontendBusiness) Reset ¶
func (m *FrontendBusiness) Reset()
func (*FrontendBusiness) Size ¶
func (m *FrontendBusiness) Size() (n int)
func (*FrontendBusiness) String ¶
func (m *FrontendBusiness) String() string
func (*FrontendBusiness) Unmarshal ¶
func (m *FrontendBusiness) Unmarshal(dAtA []byte) error
func (*FrontendBusiness) XXX_DiscardUnknown ¶
func (m *FrontendBusiness) XXX_DiscardUnknown()
func (*FrontendBusiness) XXX_Marshal ¶
func (m *FrontendBusiness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendBusiness) XXX_Merge ¶
func (m *FrontendBusiness) XXX_Merge(src proto.Message)
func (*FrontendBusiness) XXX_Size ¶
func (m *FrontendBusiness) XXX_Size() int
func (*FrontendBusiness) XXX_Unmarshal ¶
func (m *FrontendBusiness) XXX_Unmarshal(b []byte) error
type FrontendComponent ¶
type FrontendComponent struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendComponent) Descriptor ¶
func (*FrontendComponent) Descriptor() ([]byte, []int)
func (*FrontendComponent) GetId ¶
func (m *FrontendComponent) GetId() int64
func (*FrontendComponent) GetName ¶
func (m *FrontendComponent) GetName() string
func (*FrontendComponent) Marshal ¶
func (m *FrontendComponent) Marshal() (dAtA []byte, err error)
func (*FrontendComponent) MarshalTo ¶
func (m *FrontendComponent) MarshalTo(dAtA []byte) (int, error)
func (*FrontendComponent) MarshalToSizedBuffer ¶
func (m *FrontendComponent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendComponent) ProtoMessage ¶
func (*FrontendComponent) ProtoMessage()
func (*FrontendComponent) Reset ¶
func (m *FrontendComponent) Reset()
func (*FrontendComponent) Size ¶
func (m *FrontendComponent) Size() (n int)
func (*FrontendComponent) String ¶
func (m *FrontendComponent) String() string
func (*FrontendComponent) Unmarshal ¶
func (m *FrontendComponent) Unmarshal(dAtA []byte) error
func (*FrontendComponent) XXX_DiscardUnknown ¶
func (m *FrontendComponent) XXX_DiscardUnknown()
func (*FrontendComponent) XXX_Marshal ¶
func (m *FrontendComponent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendComponent) XXX_Merge ¶
func (m *FrontendComponent) XXX_Merge(src proto.Message)
func (*FrontendComponent) XXX_Size ¶
func (m *FrontendComponent) XXX_Size() int
func (*FrontendComponent) XXX_Unmarshal ¶
func (m *FrontendComponent) XXX_Unmarshal(b []byte) error
type FrontendDepartment ¶
type FrontendDepartment struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendDepartment) Descriptor ¶
func (*FrontendDepartment) Descriptor() ([]byte, []int)
func (*FrontendDepartment) GetId ¶
func (m *FrontendDepartment) GetId() int64
func (*FrontendDepartment) GetName ¶
func (m *FrontendDepartment) GetName() string
func (*FrontendDepartment) Marshal ¶
func (m *FrontendDepartment) Marshal() (dAtA []byte, err error)
func (*FrontendDepartment) MarshalTo ¶
func (m *FrontendDepartment) MarshalTo(dAtA []byte) (int, error)
func (*FrontendDepartment) MarshalToSizedBuffer ¶
func (m *FrontendDepartment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendDepartment) ProtoMessage ¶
func (*FrontendDepartment) ProtoMessage()
func (*FrontendDepartment) Reset ¶
func (m *FrontendDepartment) Reset()
func (*FrontendDepartment) Size ¶
func (m *FrontendDepartment) Size() (n int)
func (*FrontendDepartment) String ¶
func (m *FrontendDepartment) String() string
func (*FrontendDepartment) Unmarshal ¶
func (m *FrontendDepartment) Unmarshal(dAtA []byte) error
func (*FrontendDepartment) XXX_DiscardUnknown ¶
func (m *FrontendDepartment) XXX_DiscardUnknown()
func (*FrontendDepartment) XXX_Marshal ¶
func (m *FrontendDepartment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendDepartment) XXX_Merge ¶
func (m *FrontendDepartment) XXX_Merge(src proto.Message)
func (*FrontendDepartment) XXX_Size ¶
func (m *FrontendDepartment) XXX_Size() int
func (*FrontendDepartment) XXX_Unmarshal ¶
func (m *FrontendDepartment) XXX_Unmarshal(b []byte) error
type FrontendFoundChannel ¶
type FrontendFoundChannel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendFoundChannel) Descriptor ¶
func (*FrontendFoundChannel) Descriptor() ([]byte, []int)
func (*FrontendFoundChannel) GetId ¶
func (m *FrontendFoundChannel) GetId() int64
func (*FrontendFoundChannel) GetName ¶
func (m *FrontendFoundChannel) GetName() string
func (*FrontendFoundChannel) Marshal ¶
func (m *FrontendFoundChannel) Marshal() (dAtA []byte, err error)
func (*FrontendFoundChannel) MarshalTo ¶
func (m *FrontendFoundChannel) MarshalTo(dAtA []byte) (int, error)
func (*FrontendFoundChannel) MarshalToSizedBuffer ¶
func (m *FrontendFoundChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendFoundChannel) ProtoMessage ¶
func (*FrontendFoundChannel) ProtoMessage()
func (*FrontendFoundChannel) Reset ¶
func (m *FrontendFoundChannel) Reset()
func (*FrontendFoundChannel) Size ¶
func (m *FrontendFoundChannel) Size() (n int)
func (*FrontendFoundChannel) String ¶
func (m *FrontendFoundChannel) String() string
func (*FrontendFoundChannel) Unmarshal ¶
func (m *FrontendFoundChannel) Unmarshal(dAtA []byte) error
func (*FrontendFoundChannel) XXX_DiscardUnknown ¶
func (m *FrontendFoundChannel) XXX_DiscardUnknown()
func (*FrontendFoundChannel) XXX_Marshal ¶
func (m *FrontendFoundChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendFoundChannel) XXX_Merge ¶
func (m *FrontendFoundChannel) XXX_Merge(src proto.Message)
func (*FrontendFoundChannel) XXX_Size ¶
func (m *FrontendFoundChannel) XXX_Size() int
func (*FrontendFoundChannel) XXX_Unmarshal ¶
func (m *FrontendFoundChannel) XXX_Unmarshal(b []byte) error
type FrontendMalfunction ¶
type FrontendMalfunction struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendMalfunction) Descriptor ¶
func (*FrontendMalfunction) Descriptor() ([]byte, []int)
func (*FrontendMalfunction) GetId ¶
func (m *FrontendMalfunction) GetId() int64
func (*FrontendMalfunction) GetName ¶
func (m *FrontendMalfunction) GetName() string
func (*FrontendMalfunction) Marshal ¶
func (m *FrontendMalfunction) Marshal() (dAtA []byte, err error)
func (*FrontendMalfunction) MarshalTo ¶
func (m *FrontendMalfunction) MarshalTo(dAtA []byte) (int, error)
func (*FrontendMalfunction) MarshalToSizedBuffer ¶
func (m *FrontendMalfunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendMalfunction) ProtoMessage ¶
func (*FrontendMalfunction) ProtoMessage()
func (*FrontendMalfunction) Reset ¶
func (m *FrontendMalfunction) Reset()
func (*FrontendMalfunction) Size ¶
func (m *FrontendMalfunction) Size() (n int)
func (*FrontendMalfunction) String ¶
func (m *FrontendMalfunction) String() string
func (*FrontendMalfunction) Unmarshal ¶
func (m *FrontendMalfunction) Unmarshal(dAtA []byte) error
func (*FrontendMalfunction) XXX_DiscardUnknown ¶
func (m *FrontendMalfunction) XXX_DiscardUnknown()
func (*FrontendMalfunction) XXX_Marshal ¶
func (m *FrontendMalfunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendMalfunction) XXX_Merge ¶
func (m *FrontendMalfunction) XXX_Merge(src proto.Message)
func (*FrontendMalfunction) XXX_Size ¶
func (m *FrontendMalfunction) XXX_Size() int
func (*FrontendMalfunction) XXX_Unmarshal ¶
func (m *FrontendMalfunction) XXX_Unmarshal(b []byte) error
type FrontendReplay ¶
type FrontendReplay struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendReplay) Descriptor ¶
func (*FrontendReplay) Descriptor() ([]byte, []int)
func (*FrontendReplay) GetId ¶
func (m *FrontendReplay) GetId() int64
func (*FrontendReplay) GetName ¶
func (m *FrontendReplay) GetName() string
func (*FrontendReplay) Marshal ¶
func (m *FrontendReplay) Marshal() (dAtA []byte, err error)
func (*FrontendReplay) MarshalToSizedBuffer ¶
func (m *FrontendReplay) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendReplay) ProtoMessage ¶
func (*FrontendReplay) ProtoMessage()
func (*FrontendReplay) Reset ¶
func (m *FrontendReplay) Reset()
func (*FrontendReplay) Size ¶
func (m *FrontendReplay) Size() (n int)
func (*FrontendReplay) String ¶
func (m *FrontendReplay) String() string
func (*FrontendReplay) Unmarshal ¶
func (m *FrontendReplay) Unmarshal(dAtA []byte) error
func (*FrontendReplay) XXX_DiscardUnknown ¶
func (m *FrontendReplay) XXX_DiscardUnknown()
func (*FrontendReplay) XXX_Marshal ¶
func (m *FrontendReplay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendReplay) XXX_Merge ¶
func (m *FrontendReplay) XXX_Merge(src proto.Message)
func (*FrontendReplay) XXX_Size ¶
func (m *FrontendReplay) XXX_Size() int
func (*FrontendReplay) XXX_Unmarshal ¶
func (m *FrontendReplay) XXX_Unmarshal(b []byte) error
type FrontendUser ¶
type FrontendUser struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` AdAccount string `protobuf:"bytes,3,opt,name=ad_account,json=adAccount,proto3" json:"ad_account"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url"` WxAccount string `protobuf:"bytes,5,opt,name=wx_account,json=wxAccount,proto3" json:"wx_account"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontendUser) Descriptor ¶
func (*FrontendUser) Descriptor() ([]byte, []int)
func (*FrontendUser) GetAdAccount ¶
func (m *FrontendUser) GetAdAccount() string
func (*FrontendUser) GetAvatarUrl ¶
func (m *FrontendUser) GetAvatarUrl() string
func (*FrontendUser) GetId ¶
func (m *FrontendUser) GetId() int64
func (*FrontendUser) GetNickname ¶
func (m *FrontendUser) GetNickname() string
func (*FrontendUser) GetWxAccount ¶
func (m *FrontendUser) GetWxAccount() string
func (*FrontendUser) Marshal ¶
func (m *FrontendUser) Marshal() (dAtA []byte, err error)
func (*FrontendUser) MarshalToSizedBuffer ¶
func (m *FrontendUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FrontendUser) ProtoMessage ¶
func (*FrontendUser) ProtoMessage()
func (*FrontendUser) Reset ¶
func (m *FrontendUser) Reset()
func (*FrontendUser) Size ¶
func (m *FrontendUser) Size() (n int)
func (*FrontendUser) String ¶
func (m *FrontendUser) String() string
func (*FrontendUser) Unmarshal ¶
func (m *FrontendUser) Unmarshal(dAtA []byte) error
func (*FrontendUser) XXX_DiscardUnknown ¶
func (m *FrontendUser) XXX_DiscardUnknown()
func (*FrontendUser) XXX_Marshal ¶
func (m *FrontendUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FrontendUser) XXX_Merge ¶
func (m *FrontendUser) XXX_Merge(src proto.Message)
func (*FrontendUser) XXX_Size ¶
func (m *FrontendUser) XXX_Size() int
func (*FrontendUser) XXX_Unmarshal ¶
func (m *FrontendUser) XXX_Unmarshal(b []byte) error
type IDReq ¶
type IDReq struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IDReq) Descriptor ¶
func (*IDReq) ProtoMessage ¶
func (*IDReq) ProtoMessage()
func (*IDReq) XXX_DiscardUnknown ¶
func (m *IDReq) XXX_DiscardUnknown()
func (*IDReq) XXX_Marshal ¶
func (*IDReq) XXX_Unmarshal ¶
type IDReqs ¶
type IDReqs struct { // id Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids" form:"ids" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IDReqs) Descriptor ¶
func (*IDReqs) MarshalToSizedBuffer ¶
func (*IDReqs) ProtoMessage ¶
func (*IDReqs) ProtoMessage()
func (*IDReqs) XXX_DiscardUnknown ¶
func (m *IDReqs) XXX_DiscardUnknown()
func (*IDReqs) XXX_Marshal ¶
func (*IDReqs) XXX_Unmarshal ¶
type IDResp ¶
type IDResp struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IDResp) Descriptor ¶
func (*IDResp) MarshalToSizedBuffer ¶
func (*IDResp) ProtoMessage ¶
func (*IDResp) ProtoMessage()
func (*IDResp) XXX_DiscardUnknown ¶
func (m *IDResp) XXX_DiscardUnknown()
func (*IDResp) XXX_Marshal ¶
func (*IDResp) XXX_Unmarshal ¶
type IncidentTargetType ¶
type IncidentTargetType int32
const ( IncidentTargetType_INCIDENT_TARGET_TYPE_DEFAULT IncidentTargetType = 0 IncidentTargetType_INCIDENT_TARGET_TYPE_MALFUNCTION IncidentTargetType = 1 IncidentTargetType_INCIDENT_TARGET_TYPE_INCIDENT IncidentTargetType = 2 )
func (IncidentTargetType) EnumDescriptor ¶
func (IncidentTargetType) EnumDescriptor() ([]byte, []int)
func (IncidentTargetType) String ¶
func (x IncidentTargetType) String() string
type KeyReq ¶
type KeyReq struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" form:"key"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyReq) Descriptor ¶
func (*KeyReq) MarshalToSizedBuffer ¶
func (*KeyReq) ProtoMessage ¶
func (*KeyReq) ProtoMessage()
func (*KeyReq) XXX_DiscardUnknown ¶
func (m *KeyReq) XXX_DiscardUnknown()
func (*KeyReq) XXX_Marshal ¶
func (*KeyReq) XXX_Unmarshal ¶
type ListReq ¶
type ListReq struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"` // 模糊搜索 Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"s" form:"s"` // 分页 PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"page_size" form:"page_size"` // 分页 PageNum int64 `protobuf:"varint,4,opt,name=pageNum,proto3" json:"page_num" form:"page_num"` // 开始时间 Stime int64 `protobuf:"varint,5,opt,name=stime,proto3" json:"start_date" form:"start_date"` // 结束时间 Etime int64 `protobuf:"varint,6,opt,name=etime,proto3" json:"end_date" form:"end_date"` // 排序字段 Orderby string `protobuf:"bytes,7,opt,name=orderby,proto3" json:"orderby" form:"orderby"` // 排序字段 Asc string `protobuf:"bytes,8,opt,name=asc,proto3" json:"asc" form:"asc"` // 我的 Mine int64 `protobuf:"varint,9,opt,name=mine,proto3" json:"mine" form:"mine"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListReq) Descriptor ¶
func (*ListReq) GetOrderby ¶
func (*ListReq) GetPageNum ¶
func (*ListReq) GetPageSize ¶
func (*ListReq) MarshalToSizedBuffer ¶
func (*ListReq) ProtoMessage ¶
func (*ListReq) ProtoMessage()
func (*ListReq) XXX_DiscardUnknown ¶
func (m *ListReq) XXX_DiscardUnknown()
func (*ListReq) XXX_Marshal ¶
func (*ListReq) XXX_Unmarshal ¶
type ListRobotReq ¶
type ListRobotReq struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"` // 模糊搜索 Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"s" form:"s"` // team_id TeamId int64 `protobuf:"varint,10,opt,name=team_id,json=teamId,proto3" json:"team_id" form:"team_id"` // component_id ComponentId int64 `protobuf:"varint,11,opt,name=component_id,json=componentId,proto3" json:"component_id" form:"component_id"` // 分页 PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"page_size" form:"page_size"` // 分页 PageNum int64 `protobuf:"varint,4,opt,name=pageNum,proto3" json:"page_num" form:"page_num"` // 开始时间 Stime int64 `protobuf:"varint,5,opt,name=stime,proto3" json:"start_date" form:"start_date"` // 结束时间 Etime int64 `protobuf:"varint,6,opt,name=etime,proto3" json:"end_date" form:"end_date"` // 排序字段 Orderby string `protobuf:"bytes,7,opt,name=orderby,proto3" json:"orderby" form:"orderby"` // 排序字段 Asc string `protobuf:"bytes,8,opt,name=asc,proto3" json:"asc" form:"asc"` // 我的 Mine int64 `protobuf:"varint,9,opt,name=mine,proto3" json:"mine" form:"mine"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRobotReq) Descriptor ¶
func (*ListRobotReq) Descriptor() ([]byte, []int)
func (*ListRobotReq) Marshal ¶
func (m *ListRobotReq) Marshal() (dAtA []byte, err error)
func (*ListRobotReq) MarshalToSizedBuffer ¶
func (m *ListRobotReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRobotReq) ProtoMessage ¶
func (*ListRobotReq) ProtoMessage()
func (*ListRobotReq) Reset ¶
func (m *ListRobotReq) Reset()
func (*ListRobotReq) Size ¶
func (m *ListRobotReq) Size() (n int)
func (*ListRobotReq) String ¶
func (m *ListRobotReq) String() string
func (*ListRobotReq) Unmarshal ¶
func (m *ListRobotReq) Unmarshal(dAtA []byte) error
func (*ListRobotReq) XXX_DiscardUnknown ¶
func (m *ListRobotReq) XXX_DiscardUnknown()
func (*ListRobotReq) XXX_Marshal ¶
func (m *ListRobotReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRobotReq) XXX_Merge ¶
func (m *ListRobotReq) XXX_Merge(src proto.Message)
func (*ListRobotReq) XXX_Size ¶
func (m *ListRobotReq) XXX_Size() int
func (*ListRobotReq) XXX_Unmarshal ¶
func (m *ListRobotReq) XXX_Unmarshal(b []byte) error
type ListRobotResp ¶
type ListRobotResp struct { Data []*RobotForList `protobuf:"bytes,1,rep,name=data,proto3" json:"list"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRobotResp) Descriptor ¶
func (*ListRobotResp) Descriptor() ([]byte, []int)
func (*ListRobotResp) Marshal ¶
func (m *ListRobotResp) Marshal() (dAtA []byte, err error)
func (*ListRobotResp) MarshalToSizedBuffer ¶
func (m *ListRobotResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRobotResp) ProtoMessage ¶
func (*ListRobotResp) ProtoMessage()
func (*ListRobotResp) Reset ¶
func (m *ListRobotResp) Reset()
func (*ListRobotResp) Size ¶
func (m *ListRobotResp) Size() (n int)
func (*ListRobotResp) String ¶
func (m *ListRobotResp) String() string
func (*ListRobotResp) Unmarshal ¶
func (m *ListRobotResp) Unmarshal(dAtA []byte) error
func (*ListRobotResp) XXX_DiscardUnknown ¶
func (m *ListRobotResp) XXX_DiscardUnknown()
func (*ListRobotResp) XXX_Marshal ¶
func (m *ListRobotResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRobotResp) XXX_Merge ¶
func (m *ListRobotResp) XXX_Merge(src proto.Message)
func (*ListRobotResp) XXX_Size ¶
func (m *ListRobotResp) XXX_Size() int
func (*ListRobotResp) XXX_Unmarshal ¶
func (m *ListRobotResp) XXX_Unmarshal(b []byte) error
type MapResp ¶
type MapResp struct { Data map[string]string `` /* 138-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MapResp) Descriptor ¶
func (*MapResp) MarshalToSizedBuffer ¶
func (*MapResp) ProtoMessage ¶
func (*MapResp) ProtoMessage()
func (*MapResp) XXX_DiscardUnknown ¶
func (m *MapResp) XXX_DiscardUnknown()
func (*MapResp) XXX_Marshal ¶
func (*MapResp) XXX_Unmarshal ¶
type Robot ¶
type Robot struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 昵称 Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 创建人 CreatorUid string `protobuf:"bytes,3,opt,name=creator_uid,json=creatorUid,proto3" json:"creator_uid"` // 机器人地址 Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook"` // 标签 Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag"` // 组件 ComponentIds []int64 `protobuf:"varint,6,rep,packed,name=componentIds,proto3" json:"component_ids"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Robot) Descriptor ¶
func (*Robot) ProtoMessage ¶
func (*Robot) ProtoMessage()
func (*Robot) XXX_DiscardUnknown ¶
func (m *Robot) XXX_DiscardUnknown()
func (*Robot) XXX_Marshal ¶
func (*Robot) XXX_Unmarshal ¶
type RobotAPIClient ¶
type RobotAPIClient interface { // 机器人管理-创建 CreateRobot(ctx context.Context, in *RobotCReq, opts ...grpc.CallOption) (*UpdateResp, error) // 机器人管理-更新 UpdateRobot(ctx context.Context, in *RobotUReq, opts ...grpc.CallOption) (*UpdateResp, error) // 机器人管理-删除 DeleteRobot(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*UpdateResp, error) // 机器人管理-详情 GetRobot(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*Robot, error) // 机器人管理-列表 ListRobot(ctx context.Context, in *ListRobotReq, opts ...grpc.CallOption) (*ListRobotResp, error) }
RobotAPIClient is the client API for RobotAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRobotAPIClient ¶
func NewRobotAPIClient(cc *grpc.ClientConn) RobotAPIClient
type RobotAPIServer ¶
type RobotAPIServer interface { // 机器人管理-创建 CreateRobot(context.Context, *RobotCReq) (*UpdateResp, error) // 机器人管理-更新 UpdateRobot(context.Context, *RobotUReq) (*UpdateResp, error) // 机器人管理-删除 DeleteRobot(context.Context, *IDReq) (*UpdateResp, error) // 机器人管理-详情 GetRobot(context.Context, *IDReq) (*Robot, error) // 机器人管理-列表 ListRobot(context.Context, *ListRobotReq) (*ListRobotResp, error) }
RobotAPIServer is the server API for RobotAPI service.
type RobotCReq ¶
type RobotCReq struct { // 昵称 Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname" validate:"required"` // 机器人地址 Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook" validate:"required"` // 标签 Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag" validate:"required"` // 组件 ComponentIds []int64 `protobuf:"varint,6,rep,packed,name=componentIds,proto3" json:"component_ids" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RobotCReq) Descriptor ¶
func (*RobotCReq) MarshalToSizedBuffer ¶
func (*RobotCReq) ProtoMessage ¶
func (*RobotCReq) ProtoMessage()
func (*RobotCReq) XXX_DiscardUnknown ¶
func (m *RobotCReq) XXX_DiscardUnknown()
func (*RobotCReq) XXX_Marshal ¶
func (*RobotCReq) XXX_Unmarshal ¶
type RobotForList ¶
type RobotForList struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 昵称 Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 创建人 CreatorUid string `protobuf:"bytes,3,opt,name=creator_uid,json=creatorUid,proto3" json:"creator_uid"` // 机器人地址 Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook"` // 标签 Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag"` // 创建时间 CTime int64 `protobuf:"varint,6,opt,name=cTime,proto3" json:"create_time" gorm:"-"` // 更新时间 MTime int64 `protobuf:"varint,7,opt,name=mTime,proto3" json:"update_time" gorm:"-"` // 删除标志位 IsDeleted int64 `protobuf:"varint,8,opt,name=isDeleted,proto3" json:"is_deleted"` // 团队信息 TeamComponent []*RobotWithTeamAndComponentIdName `protobuf:"bytes,9,rep,name=team_component,json=teamComponent,proto3" json:"team_component"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RobotForList) Descriptor ¶
func (*RobotForList) Descriptor() ([]byte, []int)
func (*RobotForList) Marshal ¶
func (m *RobotForList) Marshal() (dAtA []byte, err error)
func (*RobotForList) MarshalToSizedBuffer ¶
func (m *RobotForList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RobotForList) ProtoMessage ¶
func (*RobotForList) ProtoMessage()
func (*RobotForList) Reset ¶
func (m *RobotForList) Reset()
func (*RobotForList) Size ¶
func (m *RobotForList) Size() (n int)
func (*RobotForList) String ¶
func (m *RobotForList) String() string
func (*RobotForList) Unmarshal ¶
func (m *RobotForList) Unmarshal(dAtA []byte) error
func (*RobotForList) XXX_DiscardUnknown ¶
func (m *RobotForList) XXX_DiscardUnknown()
func (*RobotForList) XXX_Marshal ¶
func (m *RobotForList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RobotForList) XXX_Merge ¶
func (m *RobotForList) XXX_Merge(src proto.Message)
func (*RobotForList) XXX_Size ¶
func (m *RobotForList) XXX_Size() int
func (*RobotForList) XXX_Unmarshal ¶
func (m *RobotForList) XXX_Unmarshal(b []byte) error
type RobotUReq ¶
type RobotUReq struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required"` // 昵称 Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 机器人地址 Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook"` // 标签 Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag"` // 组件 ComponentIds []int64 `protobuf:"varint,6,rep,packed,name=componentIds,proto3" json:"component_ids"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RobotUReq) Descriptor ¶
func (*RobotUReq) MarshalToSizedBuffer ¶
func (*RobotUReq) ProtoMessage ¶
func (*RobotUReq) ProtoMessage()
func (*RobotUReq) XXX_DiscardUnknown ¶
func (m *RobotUReq) XXX_DiscardUnknown()
func (*RobotUReq) XXX_Marshal ¶
func (*RobotUReq) XXX_Unmarshal ¶
type RobotWithNickname ¶
type RobotWithNickname struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 昵称 Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 类别 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RobotWithNickname) Descriptor ¶
func (*RobotWithNickname) Descriptor() ([]byte, []int)
func (*RobotWithNickname) Marshal ¶
func (m *RobotWithNickname) Marshal() (dAtA []byte, err error)
func (*RobotWithNickname) MarshalTo ¶
func (m *RobotWithNickname) MarshalTo(dAtA []byte) (int, error)
func (*RobotWithNickname) MarshalToSizedBuffer ¶
func (m *RobotWithNickname) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RobotWithNickname) ProtoMessage ¶
func (*RobotWithNickname) ProtoMessage()
func (*RobotWithNickname) Reset ¶
func (m *RobotWithNickname) Reset()
func (*RobotWithNickname) Size ¶
func (m *RobotWithNickname) Size() (n int)
func (*RobotWithNickname) String ¶
func (m *RobotWithNickname) String() string
func (*RobotWithNickname) Unmarshal ¶
func (m *RobotWithNickname) Unmarshal(dAtA []byte) error
func (*RobotWithNickname) XXX_DiscardUnknown ¶
func (m *RobotWithNickname) XXX_DiscardUnknown()
func (*RobotWithNickname) XXX_Marshal ¶
func (m *RobotWithNickname) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RobotWithNickname) XXX_Merge ¶
func (m *RobotWithNickname) XXX_Merge(src proto.Message)
func (*RobotWithNickname) XXX_Size ¶
func (m *RobotWithNickname) XXX_Size() int
func (*RobotWithNickname) XXX_Unmarshal ¶
func (m *RobotWithNickname) XXX_Unmarshal(b []byte) error
type RobotWithTeamAndComponentIdName ¶
type RobotWithTeamAndComponentIdName struct { // team_id TeamId int64 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id"` // 团队名称 TeamName string `protobuf:"bytes,2,opt,name=team_name,json=teamName,proto3" json:"team_name"` // component_id ComponentId int64 `protobuf:"varint,3,opt,name=component_id,json=componentId,proto3" json:"component_id"` // 组件名称 ComponentName string `protobuf:"bytes,4,opt,name=component_name,json=componentName,proto3" json:"component_name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RobotWithTeamAndComponentIdName) Descriptor ¶
func (*RobotWithTeamAndComponentIdName) Descriptor() ([]byte, []int)
func (*RobotWithTeamAndComponentIdName) Marshal ¶
func (m *RobotWithTeamAndComponentIdName) Marshal() (dAtA []byte, err error)
func (*RobotWithTeamAndComponentIdName) MarshalTo ¶
func (m *RobotWithTeamAndComponentIdName) MarshalTo(dAtA []byte) (int, error)
func (*RobotWithTeamAndComponentIdName) MarshalToSizedBuffer ¶
func (m *RobotWithTeamAndComponentIdName) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RobotWithTeamAndComponentIdName) ProtoMessage ¶
func (*RobotWithTeamAndComponentIdName) ProtoMessage()
func (*RobotWithTeamAndComponentIdName) Reset ¶
func (m *RobotWithTeamAndComponentIdName) Reset()
func (*RobotWithTeamAndComponentIdName) Size ¶
func (m *RobotWithTeamAndComponentIdName) Size() (n int)
func (*RobotWithTeamAndComponentIdName) String ¶
func (m *RobotWithTeamAndComponentIdName) String() string
func (*RobotWithTeamAndComponentIdName) Unmarshal ¶
func (m *RobotWithTeamAndComponentIdName) Unmarshal(dAtA []byte) error
func (*RobotWithTeamAndComponentIdName) XXX_DiscardUnknown ¶
func (m *RobotWithTeamAndComponentIdName) XXX_DiscardUnknown()
func (*RobotWithTeamAndComponentIdName) XXX_Marshal ¶
func (m *RobotWithTeamAndComponentIdName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RobotWithTeamAndComponentIdName) XXX_Merge ¶
func (m *RobotWithTeamAndComponentIdName) XXX_Merge(src proto.Message)
func (*RobotWithTeamAndComponentIdName) XXX_Size ¶
func (m *RobotWithTeamAndComponentIdName) XXX_Size() int
func (*RobotWithTeamAndComponentIdName) XXX_Unmarshal ¶
func (m *RobotWithTeamAndComponentIdName) XXX_Unmarshal(b []byte) error
type UnimplementedRobotAPIServer ¶
type UnimplementedRobotAPIServer struct { }
UnimplementedRobotAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedRobotAPIServer) CreateRobot ¶
func (*UnimplementedRobotAPIServer) CreateRobot(ctx context.Context, req *RobotCReq) (*UpdateResp, error)
func (*UnimplementedRobotAPIServer) DeleteRobot ¶
func (*UnimplementedRobotAPIServer) DeleteRobot(ctx context.Context, req *IDReq) (*UpdateResp, error)
func (*UnimplementedRobotAPIServer) ListRobot ¶
func (*UnimplementedRobotAPIServer) ListRobot(ctx context.Context, req *ListRobotReq) (*ListRobotResp, error)
func (*UnimplementedRobotAPIServer) UpdateRobot ¶
func (*UnimplementedRobotAPIServer) UpdateRobot(ctx context.Context, req *RobotUReq) (*UpdateResp, error)
type UpdateResp ¶
type UpdateResp struct { // 返回信息 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateResp) Descriptor ¶
func (*UpdateResp) Descriptor() ([]byte, []int)
func (*UpdateResp) GetMessage ¶
func (m *UpdateResp) GetMessage() string
func (*UpdateResp) Marshal ¶
func (m *UpdateResp) Marshal() (dAtA []byte, err error)
func (*UpdateResp) MarshalToSizedBuffer ¶
func (m *UpdateResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateResp) ProtoMessage ¶
func (*UpdateResp) ProtoMessage()
func (*UpdateResp) Reset ¶
func (m *UpdateResp) Reset()
func (*UpdateResp) Size ¶
func (m *UpdateResp) Size() (n int)
func (*UpdateResp) String ¶
func (m *UpdateResp) String() string
func (*UpdateResp) Unmarshal ¶
func (m *UpdateResp) Unmarshal(dAtA []byte) error
func (*UpdateResp) XXX_DiscardUnknown ¶
func (m *UpdateResp) XXX_DiscardUnknown()
func (*UpdateResp) XXX_Marshal ¶
func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateResp) XXX_Merge ¶
func (m *UpdateResp) XXX_Merge(src proto.Message)
func (*UpdateResp) XXX_Size ¶
func (m *UpdateResp) XXX_Size() int
func (*UpdateResp) XXX_Unmarshal ¶
func (m *UpdateResp) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.