Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTeamEventApiServer(s grpc.ServiceRegistrar, srv TeamEventApiServer)
- type EVENT_TYPE
- type EventInfo
- func (*EventInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EventInfo) GetEventData() *anypb.Any
- func (x *EventInfo) GetEventId() string
- func (x *EventInfo) GetEventType() EVENT_TYPE
- func (x *EventInfo) GetMemberUserId() string
- func (x *EventInfo) GetTeamId() string
- func (x *EventInfo) GetTimeStamp() int64
- func (*EventInfo) ProtoMessage()
- func (x *EventInfo) ProtoReflect() protoreflect.Message
- func (x *EventInfo) Reset()
- func (x *EventInfo) String() string
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetEventId() string
- func (x *GetRequest) GetSessionId() string
- func (x *GetRequest) GetTeamId() string
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetCode() GetResponse_CODE
- func (x *GetResponse) GetErrMsg() string
- func (x *GetResponse) GetEvent() *EventInfo
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GetResponse_CODE
- func (GetResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x GetResponse_CODE) Enum() *GetResponse_CODE
- func (GetResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetResponse_CODE) Number() protoreflect.EnumNumber
- func (x GetResponse_CODE) String() string
- func (GetResponse_CODE) Type() protoreflect.EnumType
- type ListByIdRequest
- func (*ListByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListByIdRequest) GetEventIdList() []string
- func (x *ListByIdRequest) GetSessionId() string
- func (x *ListByIdRequest) GetTeamId() string
- func (*ListByIdRequest) ProtoMessage()
- func (x *ListByIdRequest) ProtoReflect() protoreflect.Message
- func (x *ListByIdRequest) Reset()
- func (x *ListByIdRequest) String() string
- type ListByIdResponse
- func (*ListByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListByIdResponse) GetCode() ListByIdResponse_CODE
- func (x *ListByIdResponse) GetErrMsg() string
- func (x *ListByIdResponse) GetEventList() []*EventInfo
- func (*ListByIdResponse) ProtoMessage()
- func (x *ListByIdResponse) ProtoReflect() protoreflect.Message
- func (x *ListByIdResponse) Reset()
- func (x *ListByIdResponse) String() string
- type ListByIdResponse_CODE
- func (ListByIdResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListByIdResponse_CODE) Enum() *ListByIdResponse_CODE
- func (ListByIdResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListByIdResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListByIdResponse_CODE) String() string
- func (ListByIdResponse_CODE) Type() protoreflect.EnumType
- type ListParam
- func (*ListParam) Descriptor() ([]byte, []int)deprecated
- func (x *ListParam) GetFilterByMemberUserId() bool
- func (x *ListParam) GetFromTime() int64
- func (x *ListParam) GetHasTimeRange() bool
- func (x *ListParam) GetMemberUserId() string
- func (x *ListParam) GetOrderAsc() bool
- func (x *ListParam) GetToTime() int64
- func (*ListParam) ProtoMessage()
- func (x *ListParam) ProtoReflect() protoreflect.Message
- func (x *ListParam) Reset()
- func (x *ListParam) String() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetLimit() uint32
- func (x *ListRequest) GetListParam() *ListParam
- func (x *ListRequest) GetOffset() uint32
- func (x *ListRequest) GetSessionId() string
- func (x *ListRequest) GetTeamId() string
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetCode() ListResponse_CODE
- func (x *ListResponse) GetErrMsg() string
- func (x *ListResponse) GetEventList() []*EventInfo
- func (x *ListResponse) GetTotalCount() uint32
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type ListResponse_CODE
- func (ListResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListResponse_CODE) Enum() *ListResponse_CODE
- func (ListResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListResponse_CODE) String() string
- func (ListResponse_CODE) Type() protoreflect.EnumType
- type TeamEventApiClient
- type TeamEventApiServer
- type UnimplementedTeamEventApiServer
- func (UnimplementedTeamEventApiServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedTeamEventApiServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedTeamEventApiServer) ListById(context.Context, *ListByIdRequest) (*ListByIdResponse, error)
- type UnsafeTeamEventApiServer
Constants ¶
const ( TeamEventApi_List_FullMethodName = "/team_event_api.TeamEventApi/list" TeamEventApi_ListById_FullMethodName = "/team_event_api.TeamEventApi/listById" TeamEventApi_Get_FullMethodName = "/team_event_api.TeamEventApi/get" )
Variables ¶
var ( EVENT_TYPE_name = map[int32]string{ 0: "EVENT_TYPE_KNOWLEDGE", 1: "EVENT_TYPE_WORKPLAN", 2: "EVENT_TYPE_REQUIREMENT", 3: "EVENT_TYPE_ISSUE", } EVENT_TYPE_value = map[string]int32{ "EVENT_TYPE_KNOWLEDGE": 0, "EVENT_TYPE_WORKPLAN": 1, "EVENT_TYPE_REQUIREMENT": 2, "EVENT_TYPE_ISSUE": 3, } )
Enum value maps for EVENT_TYPE.
var ( ListResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } ListResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for ListResponse_CODE.
var ( ListByIdResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } ListByIdResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for ListByIdResponse_CODE.
var ( GetResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_EVENT", } GetResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_EVENT": 4, } )
Enum value maps for GetResponse_CODE.
var File_team_event_api_proto protoreflect.FileDescriptor
var TeamEventApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "team_event_api.TeamEventApi", HandlerType: (*TeamEventApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "list", Handler: _TeamEventApi_List_Handler, }, { MethodName: "listById", Handler: _TeamEventApi_ListById_Handler, }, { MethodName: "get", Handler: _TeamEventApi_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "team_event_api.proto", }
TeamEventApi_ServiceDesc is the grpc.ServiceDesc for TeamEventApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTeamEventApiServer ¶
func RegisterTeamEventApiServer(s grpc.ServiceRegistrar, srv TeamEventApiServer)
Types ¶
type EVENT_TYPE ¶
type EVENT_TYPE int32
const ( EVENT_TYPE_EVENT_TYPE_KNOWLEDGE EVENT_TYPE = 0 EVENT_TYPE_EVENT_TYPE_WORKPLAN EVENT_TYPE = 1 EVENT_TYPE_EVENT_TYPE_REQUIREMENT EVENT_TYPE = 2 EVENT_TYPE_EVENT_TYPE_ISSUE EVENT_TYPE = 3 )
func (EVENT_TYPE) Descriptor ¶
func (EVENT_TYPE) Descriptor() protoreflect.EnumDescriptor
func (EVENT_TYPE) Enum ¶
func (x EVENT_TYPE) Enum() *EVENT_TYPE
func (EVENT_TYPE) EnumDescriptor
deprecated
func (EVENT_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use EVENT_TYPE.Descriptor instead.
func (EVENT_TYPE) Number ¶
func (x EVENT_TYPE) Number() protoreflect.EnumNumber
func (EVENT_TYPE) String ¶
func (x EVENT_TYPE) String() string
func (EVENT_TYPE) Type ¶
func (EVENT_TYPE) Type() protoreflect.EnumType
type EventInfo ¶
type EventInfo struct { EventId string `protobuf:"bytes,1,opt,name=eventId,proto3" json:"eventId,omitempty"` EventType EVENT_TYPE `protobuf:"varint,2,opt,name=eventType,proto3,enum=team_event_api.EVENT_TYPE" json:"eventType,omitempty"` TeamId string `protobuf:"bytes,3,opt,name=teamId,proto3" json:"teamId,omitempty"` MemberUserId string `protobuf:"bytes,4,opt,name=memberUserId,proto3" json:"memberUserId,omitempty"` TimeStamp int64 `protobuf:"varint,5,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` // 目标为knowledge,issue,requriement,workplan的HistoryItem EventData *anypb.Any `protobuf:"bytes,10,opt,name=eventData,proto3" json:"eventData,omitempty"` // contains filtered or unexported fields }
func (*EventInfo) GetEventType ¶
func (x *EventInfo) GetEventType() EVENT_TYPE
func (*EventInfo) ProtoReflect ¶
func (x *EventInfo) ProtoReflect() protoreflect.Message
type GetRequest ¶
type GetRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` EventId string `protobuf:"bytes,3,opt,name=eventId,proto3" json:"eventId,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetEventId ¶
func (x *GetRequest) GetEventId() string
func (*GetRequest) GetSessionId ¶
func (x *GetRequest) GetSessionId() string
func (*GetRequest) GetTeamId ¶
func (x *GetRequest) GetTeamId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Code GetResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_event_api.GetResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` Event *EventInfo `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetCode ¶
func (x *GetResponse) GetCode() GetResponse_CODE
func (*GetResponse) GetErrMsg ¶
func (x *GetResponse) GetErrMsg() string
func (*GetResponse) GetEvent ¶
func (x *GetResponse) GetEvent() *EventInfo
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetResponse_CODE ¶
type GetResponse_CODE int32
const ( GetResponse_CODE_OK GetResponse_CODE = 0 GetResponse_CODE_WRONG_SESSION GetResponse_CODE = 1 GetResponse_CODE_NO_TEAM GetResponse_CODE = 2 GetResponse_CODE_NO_PERMISSION GetResponse_CODE = 3 GetResponse_CODE_NO_EVENT GetResponse_CODE = 4 )
func (GetResponse_CODE) Descriptor ¶
func (GetResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (GetResponse_CODE) Enum ¶
func (x GetResponse_CODE) Enum() *GetResponse_CODE
func (GetResponse_CODE) EnumDescriptor
deprecated
func (GetResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetResponse_CODE.Descriptor instead.
func (GetResponse_CODE) Number ¶
func (x GetResponse_CODE) Number() protoreflect.EnumNumber
func (GetResponse_CODE) String ¶
func (x GetResponse_CODE) String() string
func (GetResponse_CODE) Type ¶
func (GetResponse_CODE) Type() protoreflect.EnumType
type ListByIdRequest ¶
type ListByIdRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` EventIdList []string `protobuf:"bytes,3,rep,name=eventIdList,proto3" json:"eventIdList,omitempty"` // contains filtered or unexported fields }
func (*ListByIdRequest) Descriptor
deprecated
func (*ListByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListByIdRequest.ProtoReflect.Descriptor instead.
func (*ListByIdRequest) GetEventIdList ¶
func (x *ListByIdRequest) GetEventIdList() []string
func (*ListByIdRequest) GetSessionId ¶
func (x *ListByIdRequest) GetSessionId() string
func (*ListByIdRequest) GetTeamId ¶
func (x *ListByIdRequest) GetTeamId() string
func (*ListByIdRequest) ProtoMessage ¶
func (*ListByIdRequest) ProtoMessage()
func (*ListByIdRequest) ProtoReflect ¶
func (x *ListByIdRequest) ProtoReflect() protoreflect.Message
func (*ListByIdRequest) Reset ¶
func (x *ListByIdRequest) Reset()
func (*ListByIdRequest) String ¶
func (x *ListByIdRequest) String() string
type ListByIdResponse ¶
type ListByIdResponse struct { Code ListByIdResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_event_api.ListByIdResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` EventList []*EventInfo `protobuf:"bytes,3,rep,name=eventList,proto3" json:"eventList,omitempty"` // contains filtered or unexported fields }
func (*ListByIdResponse) Descriptor
deprecated
func (*ListByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListByIdResponse.ProtoReflect.Descriptor instead.
func (*ListByIdResponse) GetCode ¶
func (x *ListByIdResponse) GetCode() ListByIdResponse_CODE
func (*ListByIdResponse) GetErrMsg ¶
func (x *ListByIdResponse) GetErrMsg() string
func (*ListByIdResponse) GetEventList ¶
func (x *ListByIdResponse) GetEventList() []*EventInfo
func (*ListByIdResponse) ProtoMessage ¶
func (*ListByIdResponse) ProtoMessage()
func (*ListByIdResponse) ProtoReflect ¶
func (x *ListByIdResponse) ProtoReflect() protoreflect.Message
func (*ListByIdResponse) Reset ¶
func (x *ListByIdResponse) Reset()
func (*ListByIdResponse) String ¶
func (x *ListByIdResponse) String() string
type ListByIdResponse_CODE ¶
type ListByIdResponse_CODE int32
const ( ListByIdResponse_CODE_OK ListByIdResponse_CODE = 0 ListByIdResponse_CODE_WRONG_SESSION ListByIdResponse_CODE = 1 ListByIdResponse_CODE_NO_TEAM ListByIdResponse_CODE = 2 ListByIdResponse_CODE_NO_PERMISSION ListByIdResponse_CODE = 3 )
func (ListByIdResponse_CODE) Descriptor ¶
func (ListByIdResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListByIdResponse_CODE) Enum ¶
func (x ListByIdResponse_CODE) Enum() *ListByIdResponse_CODE
func (ListByIdResponse_CODE) EnumDescriptor
deprecated
func (ListByIdResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListByIdResponse_CODE.Descriptor instead.
func (ListByIdResponse_CODE) Number ¶
func (x ListByIdResponse_CODE) Number() protoreflect.EnumNumber
func (ListByIdResponse_CODE) String ¶
func (x ListByIdResponse_CODE) String() string
func (ListByIdResponse_CODE) Type ¶
func (ListByIdResponse_CODE) Type() protoreflect.EnumType
type ListParam ¶
type ListParam struct { FilterByMemberUserId bool `protobuf:"varint,1,opt,name=filterByMemberUserId,proto3" json:"filterByMemberUserId,omitempty"` MemberUserId string `protobuf:"bytes,2,opt,name=memberUserId,proto3" json:"memberUserId,omitempty"` HasTimeRange bool `protobuf:"varint,3,opt,name=hasTimeRange,proto3" json:"hasTimeRange,omitempty"` FromTime int64 `protobuf:"varint,4,opt,name=fromTime,proto3" json:"fromTime,omitempty"` ToTime int64 `protobuf:"varint,5,opt,name=toTime,proto3" json:"toTime,omitempty"` OrderAsc bool `protobuf:"varint,6,opt,name=orderAsc,proto3" json:"orderAsc,omitempty"` //是否升序 // contains filtered or unexported fields }
func (*ListParam) ProtoReflect ¶
func (x *ListParam) ProtoReflect() protoreflect.Message
type ListRequest ¶
type ListRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` ListParam *ListParam `protobuf:"bytes,3,opt,name=listParam,proto3" json:"listParam,omitempty"` Offset uint32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetLimit ¶
func (x *ListRequest) GetLimit() uint32
func (*ListRequest) GetListParam ¶
func (x *ListRequest) GetListParam() *ListParam
func (*ListRequest) GetOffset ¶
func (x *ListRequest) GetOffset() uint32
func (*ListRequest) GetSessionId ¶
func (x *ListRequest) GetSessionId() string
func (*ListRequest) GetTeamId ¶
func (x *ListRequest) GetTeamId() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Code ListResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_event_api.ListResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` TotalCount uint32 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"` EventList []*EventInfo `protobuf:"bytes,4,rep,name=eventList,proto3" json:"eventList,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetCode ¶
func (x *ListResponse) GetCode() ListResponse_CODE
func (*ListResponse) GetErrMsg ¶
func (x *ListResponse) GetErrMsg() string
func (*ListResponse) GetEventList ¶
func (x *ListResponse) GetEventList() []*EventInfo
func (*ListResponse) GetTotalCount ¶
func (x *ListResponse) GetTotalCount() uint32
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type ListResponse_CODE ¶
type ListResponse_CODE int32
const ( ListResponse_CODE_OK ListResponse_CODE = 0 ListResponse_CODE_WRONG_SESSION ListResponse_CODE = 1 ListResponse_CODE_NO_TEAM ListResponse_CODE = 2 ListResponse_CODE_NO_PERMISSION ListResponse_CODE = 3 )
func (ListResponse_CODE) Descriptor ¶
func (ListResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListResponse_CODE) Enum ¶
func (x ListResponse_CODE) Enum() *ListResponse_CODE
func (ListResponse_CODE) EnumDescriptor
deprecated
func (ListResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListResponse_CODE.Descriptor instead.
func (ListResponse_CODE) Number ¶
func (x ListResponse_CODE) Number() protoreflect.EnumNumber
func (ListResponse_CODE) String ¶
func (x ListResponse_CODE) String() string
func (ListResponse_CODE) Type ¶
func (ListResponse_CODE) Type() protoreflect.EnumType
type TeamEventApiClient ¶
type TeamEventApiClient interface { // 列出事件 List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // 按Id列出事件 ListById(ctx context.Context, in *ListByIdRequest, opts ...grpc.CallOption) (*ListByIdResponse, error) // 获取单个事件 Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) }
TeamEventApiClient is the client API for TeamEventApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTeamEventApiClient ¶
func NewTeamEventApiClient(cc grpc.ClientConnInterface) TeamEventApiClient
type TeamEventApiServer ¶
type TeamEventApiServer interface { // 列出事件 List(context.Context, *ListRequest) (*ListResponse, error) // 按Id列出事件 ListById(context.Context, *ListByIdRequest) (*ListByIdResponse, error) // 获取单个事件 Get(context.Context, *GetRequest) (*GetResponse, error) // contains filtered or unexported methods }
TeamEventApiServer is the server API for TeamEventApi service. All implementations must embed UnimplementedTeamEventApiServer for forward compatibility
type UnimplementedTeamEventApiServer ¶
type UnimplementedTeamEventApiServer struct { }
UnimplementedTeamEventApiServer must be embedded to have forward compatible implementations.
func (UnimplementedTeamEventApiServer) Get ¶
func (UnimplementedTeamEventApiServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedTeamEventApiServer) List ¶
func (UnimplementedTeamEventApiServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedTeamEventApiServer) ListById ¶
func (UnimplementedTeamEventApiServer) ListById(context.Context, *ListByIdRequest) (*ListByIdResponse, error)
type UnsafeTeamEventApiServer ¶
type UnsafeTeamEventApiServer interface {
// contains filtered or unexported methods
}
UnsafeTeamEventApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TeamEventApiServer will result in compilation errors.