Documentation ¶
Index ¶
- Variables
- func FromTimeSliceSearch(t *TimeSliceSearch) *data.TimeSliceSearch
- func FromTimerSearch(t *TimerSearch) *data.TimerSearch
- func RegisterTimeSlicesServer(s grpc.ServiceRegistrar, srv TimeSlicesServer)
- func RegisterTimersServer(s grpc.ServiceRegistrar, srv TimersServer)
- func ToTimeSlice(t *TimeSlice) *data.TimeSlice
- func ToTimeSlicePartial(t *TimeSlicePartial) *data.TimeSlicePartial
- func ToTimeSlices(e []*TimeSlice) []*data.TimeSlice
- func ToTimer(t *Timer) *data.Timer
- func ToTimerPartial(t *TimerPartial) *data.TimerPartial
- func ToTimers(e []*Timer) []*data.Timer
- type TimeSlice
- func (*TimeSlice) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSlice) GetCompleted() bool
- func (x *TimeSlice) GetElapsedTime() int64
- func (x *TimeSlice) GetFinish() int64
- func (x *TimeSlice) GetId() string
- func (x *TimeSlice) GetLastUpdated() int64
- func (x *TimeSlice) GetLastUpdatedBy() string
- func (x *TimeSlice) GetStart() int64
- func (x *TimeSlice) GetTimerId() string
- func (x *TimeSlice) GetVersion() int32
- func (*TimeSlice) ProtoMessage()
- func (x *TimeSlice) ProtoReflect() protoreflect.Message
- func (x *TimeSlice) Reset()
- func (x *TimeSlice) String() string
- type TimeSliceCreateRequest
- func (*TimeSliceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceCreateRequest) GetTimeSlicePartial() *TimeSlicePartial
- func (*TimeSliceCreateRequest) ProtoMessage()
- func (x *TimeSliceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TimeSliceCreateRequest) Reset()
- func (x *TimeSliceCreateRequest) String() string
- type TimeSliceCreateResponse
- func (*TimeSliceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceCreateResponse) GetTimeSlice() *TimeSlice
- func (*TimeSliceCreateResponse) ProtoMessage()
- func (x *TimeSliceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *TimeSliceCreateResponse) Reset()
- func (x *TimeSliceCreateResponse) String() string
- type TimeSliceDeleteRequest
- func (*TimeSliceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceDeleteRequest) GetId() string
- func (*TimeSliceDeleteRequest) ProtoMessage()
- func (x *TimeSliceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *TimeSliceDeleteRequest) Reset()
- func (x *TimeSliceDeleteRequest) String() string
- type TimeSliceDeleteResponse
- type TimeSlicePartial
- func (*TimeSlicePartial) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSlicePartial) GetCompleted() bool
- func (m *TimeSlicePartial) GetCompletedOneof() isTimeSlicePartial_CompletedOneof
- func (x *TimeSlicePartial) GetFinish() int64
- func (m *TimeSlicePartial) GetFinishOneof() isTimeSlicePartial_FinishOneof
- func (x *TimeSlicePartial) GetStart() int64
- func (m *TimeSlicePartial) GetStartOneof() isTimeSlicePartial_StartOneof
- func (x *TimeSlicePartial) GetTimerId() string
- func (m *TimeSlicePartial) GetTimerIdOneof() isTimeSlicePartial_TimerIdOneof
- func (*TimeSlicePartial) ProtoMessage()
- func (x *TimeSlicePartial) ProtoReflect() protoreflect.Message
- func (x *TimeSlicePartial) Reset()
- func (x *TimeSlicePartial) String() string
- type TimeSlicePartial_Completed
- type TimeSlicePartial_Finish
- type TimeSlicePartial_Start
- type TimeSlicePartial_TimerId
- type TimeSliceReadRequest
- func (*TimeSliceReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceReadRequest) GetId() string
- func (*TimeSliceReadRequest) ProtoMessage()
- func (x *TimeSliceReadRequest) ProtoReflect() protoreflect.Message
- func (x *TimeSliceReadRequest) Reset()
- func (x *TimeSliceReadRequest) String() string
- type TimeSliceReadResponse
- func (*TimeSliceReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceReadResponse) GetTimeSlice() *TimeSlice
- func (*TimeSliceReadResponse) ProtoMessage()
- func (x *TimeSliceReadResponse) ProtoReflect() protoreflect.Message
- func (x *TimeSliceReadResponse) Reset()
- func (x *TimeSliceReadResponse) String() string
- type TimeSliceSearch
- func (*TimeSliceSearch) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceSearch) GetCompleted() bool
- func (m *TimeSliceSearch) GetCompletedOneof() isTimeSliceSearch_CompletedOneof
- func (x *TimeSliceSearch) GetIds() []string
- func (x *TimeSliceSearch) GetTimerId() string
- func (m *TimeSliceSearch) GetTimerIdOneof() isTimeSliceSearch_TimerIdOneof
- func (x *TimeSliceSearch) GetTimerIds() []string
- func (*TimeSliceSearch) ProtoMessage()
- func (x *TimeSliceSearch) ProtoReflect() protoreflect.Message
- func (x *TimeSliceSearch) Reset()
- func (x *TimeSliceSearch) String() string
- type TimeSliceSearch_Completed
- type TimeSliceSearch_TimerId
- type TimeSliceUpdateRequest
- func (*TimeSliceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceUpdateRequest) GetId() string
- func (x *TimeSliceUpdateRequest) GetTimeSlicePartial() *TimeSlicePartial
- func (*TimeSliceUpdateRequest) ProtoMessage()
- func (x *TimeSliceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TimeSliceUpdateRequest) Reset()
- func (x *TimeSliceUpdateRequest) String() string
- type TimeSliceUpdateResponse
- func (*TimeSliceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSliceUpdateResponse) GetTimeSlice() *TimeSlice
- func (*TimeSliceUpdateResponse) ProtoMessage()
- func (x *TimeSliceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *TimeSliceUpdateResponse) Reset()
- func (x *TimeSliceUpdateResponse) String() string
- type TimeSlicesClient
- type TimeSlicesReadRequest
- func (*TimeSlicesReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSlicesReadRequest) GetTimeSliceSearch() *TimeSliceSearch
- func (*TimeSlicesReadRequest) ProtoMessage()
- func (x *TimeSlicesReadRequest) ProtoReflect() protoreflect.Message
- func (x *TimeSlicesReadRequest) Reset()
- func (x *TimeSlicesReadRequest) String() string
- type TimeSlicesReadResponse
- func (*TimeSlicesReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSlicesReadResponse) GetTimeSlices() []*TimeSlice
- func (*TimeSlicesReadResponse) ProtoMessage()
- func (x *TimeSlicesReadResponse) ProtoReflect() protoreflect.Message
- func (x *TimeSlicesReadResponse) Reset()
- func (x *TimeSlicesReadResponse) String() string
- type TimeSlicesServer
- type Timer
- func (*Timer) Descriptor() ([]byte, []int)deprecated
- func (x *Timer) GetActiveTimeSliceId() string
- func (x *Timer) GetArchived() bool
- func (x *Timer) GetComment() string
- func (x *Timer) GetCompleted() bool
- func (x *Timer) GetElapsedTime() int64
- func (x *Timer) GetEmployeeId() string
- func (x *Timer) GetFinish() int64
- func (x *Timer) GetId() string
- func (x *Timer) GetLastUpdated() int64
- func (x *Timer) GetLastUpdatedBy() string
- func (x *Timer) GetStart() int64
- func (x *Timer) GetVersion() int32
- func (*Timer) ProtoMessage()
- func (x *Timer) ProtoReflect() protoreflect.Message
- func (x *Timer) Reset()
- func (x *Timer) String() string
- type TimerArchiveRequest
- func (*TimerArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimerArchiveRequest) GetArchive() bool
- func (x *TimerArchiveRequest) GetId() string
- func (*TimerArchiveRequest) ProtoMessage()
- func (x *TimerArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *TimerArchiveRequest) Reset()
- func (x *TimerArchiveRequest) String() string
- type TimerArchiveResponse
- func (*TimerArchiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimerArchiveResponse) GetTimer() *Timer
- func (*TimerArchiveResponse) ProtoMessage()
- func (x *TimerArchiveResponse) ProtoReflect() protoreflect.Message
- func (x *TimerArchiveResponse) Reset()
- func (x *TimerArchiveResponse) String() string
- type TimerCreateRequest
- func (*TimerCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimerCreateRequest) GetTimerPartial() *TimerPartial
- func (*TimerCreateRequest) ProtoMessage()
- func (x *TimerCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TimerCreateRequest) Reset()
- func (x *TimerCreateRequest) String() string
- type TimerCreateResponse
- func (*TimerCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimerCreateResponse) GetTimer() *Timer
- func (*TimerCreateResponse) ProtoMessage()
- func (x *TimerCreateResponse) ProtoReflect() protoreflect.Message
- func (x *TimerCreateResponse) Reset()
- func (x *TimerCreateResponse) String() string
- type TimerDeleteRequest
- type TimerDeleteResponse
- type TimerPartial
- func (*TimerPartial) Descriptor() ([]byte, []int)deprecated
- func (x *TimerPartial) GetArchived() bool
- func (m *TimerPartial) GetArchivedOneof() isTimerPartial_ArchivedOneof
- func (x *TimerPartial) GetComment() string
- func (m *TimerPartial) GetCommentOneof() isTimerPartial_CommentOneof
- func (x *TimerPartial) GetCompleted() bool
- func (m *TimerPartial) GetCompletedOneof() isTimerPartial_CompletedOneof
- func (x *TimerPartial) GetEmployeeId() string
- func (m *TimerPartial) GetEmployeeIdOneof() isTimerPartial_EmployeeIdOneof
- func (x *TimerPartial) GetFinish() int64
- func (m *TimerPartial) GetFinishOneof() isTimerPartial_FinishOneof
- func (*TimerPartial) ProtoMessage()
- func (x *TimerPartial) ProtoReflect() protoreflect.Message
- func (x *TimerPartial) Reset()
- func (x *TimerPartial) String() string
- type TimerPartial_Archived
- type TimerPartial_Comment
- type TimerPartial_Completed
- type TimerPartial_EmployeeId
- type TimerPartial_Finish
- type TimerReadRequest
- type TimerReadResponse
- type TimerSearch
- func (*TimerSearch) Descriptor() ([]byte, []int)deprecated
- func (x *TimerSearch) GetArchived() bool
- func (m *TimerSearch) GetArchivedOneof() isTimerSearch_ArchivedOneof
- func (x *TimerSearch) GetCompleted() bool
- func (m *TimerSearch) GetCompletedOneof() isTimerSearch_CompletedOneof
- func (x *TimerSearch) GetEmployeeId() string
- func (m *TimerSearch) GetEmployeeIdOneof() isTimerSearch_EmployeeIdOneof
- func (x *TimerSearch) GetEmployeeIds() []string
- func (x *TimerSearch) GetIds() []string
- func (*TimerSearch) ProtoMessage()
- func (x *TimerSearch) ProtoReflect() protoreflect.Message
- func (x *TimerSearch) Reset()
- func (x *TimerSearch) String() string
- type TimerSearch_Archived
- type TimerSearch_Completed
- type TimerSearch_EmployeeId
- type TimerStartRequest
- type TimerStartResponse
- func (*TimerStartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimerStartResponse) GetTimer() *Timer
- func (*TimerStartResponse) ProtoMessage()
- func (x *TimerStartResponse) ProtoReflect() protoreflect.Message
- func (x *TimerStartResponse) Reset()
- func (x *TimerStartResponse) String() string
- type TimerStopRequest
- type TimerStopResponse
- type TimerSubmitRequest
- func (*TimerSubmitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimerSubmitRequest) GetFinish() int64
- func (m *TimerSubmitRequest) GetFinishOneof() isTimerSubmitRequest_FinishOneof
- func (x *TimerSubmitRequest) GetId() string
- func (*TimerSubmitRequest) ProtoMessage()
- func (x *TimerSubmitRequest) ProtoReflect() protoreflect.Message
- func (x *TimerSubmitRequest) Reset()
- func (x *TimerSubmitRequest) String() string
- type TimerSubmitRequest_Finish
- type TimerSubmitResponse
- func (*TimerSubmitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimerSubmitResponse) GetTimer() *Timer
- func (*TimerSubmitResponse) ProtoMessage()
- func (x *TimerSubmitResponse) ProtoReflect() protoreflect.Message
- func (x *TimerSubmitResponse) Reset()
- func (x *TimerSubmitResponse) String() string
- type TimerUpdateCommentRequest
- func (*TimerUpdateCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimerUpdateCommentRequest) GetComment() string
- func (x *TimerUpdateCommentRequest) GetId() string
- func (*TimerUpdateCommentRequest) ProtoMessage()
- func (x *TimerUpdateCommentRequest) ProtoReflect() protoreflect.Message
- func (x *TimerUpdateCommentRequest) Reset()
- func (x *TimerUpdateCommentRequest) String() string
- type TimerUpdateCommentResponse
- func (*TimerUpdateCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimerUpdateCommentResponse) GetTimer() *Timer
- func (*TimerUpdateCommentResponse) ProtoMessage()
- func (x *TimerUpdateCommentResponse) ProtoReflect() protoreflect.Message
- func (x *TimerUpdateCommentResponse) Reset()
- func (x *TimerUpdateCommentResponse) String() string
- type TimerUpdateRequest
- func (*TimerUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimerUpdateRequest) GetId() string
- func (x *TimerUpdateRequest) GetTimerPartial() *TimerPartial
- func (*TimerUpdateRequest) ProtoMessage()
- func (x *TimerUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TimerUpdateRequest) Reset()
- func (x *TimerUpdateRequest) String() string
- type TimerUpdateResponse
- func (*TimerUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimerUpdateResponse) GetTimer() *Timer
- func (*TimerUpdateResponse) ProtoMessage()
- func (x *TimerUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *TimerUpdateResponse) Reset()
- func (x *TimerUpdateResponse) String() string
- type TimersClient
- type TimersReadRequest
- func (*TimersReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TimersReadRequest) GetTimerSearch() *TimerSearch
- func (*TimersReadRequest) ProtoMessage()
- func (x *TimersReadRequest) ProtoReflect() protoreflect.Message
- func (x *TimersReadRequest) Reset()
- func (x *TimersReadRequest) String() string
- type TimersReadResponse
- func (*TimersReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TimersReadResponse) GetTimers() []*Timer
- func (*TimersReadResponse) ProtoMessage()
- func (x *TimersReadResponse) ProtoReflect() protoreflect.Message
- func (x *TimersReadResponse) Reset()
- func (x *TimersReadResponse) String() string
- type TimersServer
- type UnimplementedTimeSlicesServer
- func (UnimplementedTimeSlicesServer) TimeSliceCreate(context.Context, *TimeSliceCreateRequest) (*TimeSliceCreateResponse, error)
- func (UnimplementedTimeSlicesServer) TimeSliceDelete(context.Context, *TimeSliceDeleteRequest) (*TimeSliceDeleteResponse, error)
- func (UnimplementedTimeSlicesServer) TimeSliceRead(context.Context, *TimeSliceReadRequest) (*TimeSliceReadResponse, error)
- func (UnimplementedTimeSlicesServer) TimeSliceUpdate(context.Context, *TimeSliceUpdateRequest) (*TimeSliceUpdateResponse, error)
- func (UnimplementedTimeSlicesServer) TimeSlicesRead(context.Context, *TimeSlicesReadRequest) (*TimeSlicesReadResponse, error)
- type UnimplementedTimersServer
- func (UnimplementedTimersServer) TimerCreate(context.Context, *TimerCreateRequest) (*TimerCreateResponse, error)
- func (UnimplementedTimersServer) TimerDelete(context.Context, *TimerDeleteRequest) (*TimerDeleteResponse, error)
- func (UnimplementedTimersServer) TimerRead(context.Context, *TimerReadRequest) (*TimerReadResponse, error)
- func (UnimplementedTimersServer) TimerStart(context.Context, *TimerStartRequest) (*TimerStartResponse, error)
- func (UnimplementedTimersServer) TimerStop(context.Context, *TimerStopRequest) (*TimerStopResponse, error)
- func (UnimplementedTimersServer) TimerSubmit(context.Context, *TimerSubmitRequest) (*TimerSubmitResponse, error)
- func (UnimplementedTimersServer) TimerUpdate(context.Context, *TimerUpdateRequest) (*TimerUpdateResponse, error)
- func (UnimplementedTimersServer) TimersRead(context.Context, *TimersReadRequest) (*TimersReadResponse, error)
- type UnsafeTimeSlicesServer
- type UnsafeTimersServer
Constants ¶
This section is empty.
Variables ¶
var File_timers_proto protoreflect.FileDescriptor
var File_timeslices_proto protoreflect.FileDescriptor
var TimeSlices_ServiceDesc = grpc.ServiceDesc{ ServiceName: "go_bludgeon_timers.TimeSlices", HandlerType: (*TimeSlicesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "time_slice_create", Handler: _TimeSlices_TimeSliceCreate_Handler, }, { MethodName: "time_slice_read", Handler: _TimeSlices_TimeSliceRead_Handler, }, { MethodName: "time_slice_update", Handler: _TimeSlices_TimeSliceUpdate_Handler, }, { MethodName: "time_slice_delete", Handler: _TimeSlices_TimeSliceDelete_Handler, }, { MethodName: "time_slices_read", Handler: _TimeSlices_TimeSlicesRead_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "timeslices.proto", }
TimeSlices_ServiceDesc is the grpc.ServiceDesc for TimeSlices service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Timers_ServiceDesc = grpc.ServiceDesc{ ServiceName: "go_bludgeon_timers.Timers", HandlerType: (*TimersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "timer_create", Handler: _Timers_TimerCreate_Handler, }, { MethodName: "timer_read", Handler: _Timers_TimerRead_Handler, }, { MethodName: "timer_delete", Handler: _Timers_TimerDelete_Handler, }, { MethodName: "timers_read", Handler: _Timers_TimersRead_Handler, }, { MethodName: "timer_update", Handler: _Timers_TimerUpdate_Handler, }, { MethodName: "timer_start", Handler: _Timers_TimerStart_Handler, }, { MethodName: "timer_stop", Handler: _Timers_TimerStop_Handler, }, { MethodName: "timer_submit", Handler: _Timers_TimerSubmit_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "timers.proto", }
Timers_ServiceDesc is the grpc.ServiceDesc for Timers service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func FromTimeSliceSearch ¶
func FromTimeSliceSearch(t *TimeSliceSearch) *data.TimeSliceSearch
func FromTimerSearch ¶
func FromTimerSearch(t *TimerSearch) *data.TimerSearch
func RegisterTimeSlicesServer ¶
func RegisterTimeSlicesServer(s grpc.ServiceRegistrar, srv TimeSlicesServer)
func RegisterTimersServer ¶
func RegisterTimersServer(s grpc.ServiceRegistrar, srv TimersServer)
func ToTimeSlice ¶
func ToTimeSlicePartial ¶
func ToTimeSlicePartial(t *TimeSlicePartial) *data.TimeSlicePartial
func ToTimeSlices ¶
func ToTimerPartial ¶
func ToTimerPartial(t *TimerPartial) *data.TimerPartial
Types ¶
type TimeSlice ¶
type TimeSlice struct { // completed Completed bool `protobuf:"varint,1,opt,name=completed,proto3" json:"completed,omitempty"` // start Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` // finish Finish int64 `protobuf:"varint,3,opt,name=finish,proto3" json:"finish,omitempty"` // elapsed_time ElapsedTime int64 `protobuf:"varint,4,opt,name=elapsed_time,json=elapsedTime,proto3" json:"elapsed_time,omitempty"` // id Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // timer_id TimerId string `protobuf:"bytes,6,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` // last_updated LastUpdated int64 `protobuf:"varint,7,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // last_updated_by LastUpdatedBy string `protobuf:"bytes,8,opt,name=last_updated_by,json=lastUpdatedBy,proto3" json:"last_updated_by,omitempty"` // version Version int32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
TimeSlice
func FromTimeSlice ¶
func FromTimeSlices ¶
func (*TimeSlice) Descriptor
deprecated
func (*TimeSlice) GetCompleted ¶
func (*TimeSlice) GetElapsedTime ¶
func (*TimeSlice) GetLastUpdated ¶
func (*TimeSlice) GetLastUpdatedBy ¶
func (*TimeSlice) GetTimerId ¶
func (*TimeSlice) GetVersion ¶
func (*TimeSlice) ProtoMessage ¶
func (*TimeSlice) ProtoMessage()
func (*TimeSlice) ProtoReflect ¶
func (x *TimeSlice) ProtoReflect() protoreflect.Message
type TimeSliceCreateRequest ¶
type TimeSliceCreateRequest struct { // time_slice_partial TimeSlicePartial *TimeSlicePartial `protobuf:"bytes,1,opt,name=time_slice_partial,json=timeSlicePartial,proto3" json:"time_slice_partial,omitempty"` // contains filtered or unexported fields }
TimeSliceCreateRequest
func (*TimeSliceCreateRequest) Descriptor
deprecated
func (*TimeSliceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceCreateRequest.ProtoReflect.Descriptor instead.
func (*TimeSliceCreateRequest) GetTimeSlicePartial ¶
func (x *TimeSliceCreateRequest) GetTimeSlicePartial() *TimeSlicePartial
func (*TimeSliceCreateRequest) ProtoMessage ¶
func (*TimeSliceCreateRequest) ProtoMessage()
func (*TimeSliceCreateRequest) ProtoReflect ¶
func (x *TimeSliceCreateRequest) ProtoReflect() protoreflect.Message
func (*TimeSliceCreateRequest) Reset ¶
func (x *TimeSliceCreateRequest) Reset()
func (*TimeSliceCreateRequest) String ¶
func (x *TimeSliceCreateRequest) String() string
type TimeSliceCreateResponse ¶
type TimeSliceCreateResponse struct { // time_slice TimeSlice *TimeSlice `protobuf:"bytes,1,opt,name=time_slice,json=timeSlice,proto3" json:"time_slice,omitempty"` // contains filtered or unexported fields }
TimeSliceCreateResponse
func (*TimeSliceCreateResponse) Descriptor
deprecated
func (*TimeSliceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceCreateResponse.ProtoReflect.Descriptor instead.
func (*TimeSliceCreateResponse) GetTimeSlice ¶
func (x *TimeSliceCreateResponse) GetTimeSlice() *TimeSlice
func (*TimeSliceCreateResponse) ProtoMessage ¶
func (*TimeSliceCreateResponse) ProtoMessage()
func (*TimeSliceCreateResponse) ProtoReflect ¶
func (x *TimeSliceCreateResponse) ProtoReflect() protoreflect.Message
func (*TimeSliceCreateResponse) Reset ¶
func (x *TimeSliceCreateResponse) Reset()
func (*TimeSliceCreateResponse) String ¶
func (x *TimeSliceCreateResponse) String() string
type TimeSliceDeleteRequest ¶
type TimeSliceDeleteRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TimeSliceDeleteRequest
func (*TimeSliceDeleteRequest) Descriptor
deprecated
func (*TimeSliceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceDeleteRequest.ProtoReflect.Descriptor instead.
func (*TimeSliceDeleteRequest) GetId ¶
func (x *TimeSliceDeleteRequest) GetId() string
func (*TimeSliceDeleteRequest) ProtoMessage ¶
func (*TimeSliceDeleteRequest) ProtoMessage()
func (*TimeSliceDeleteRequest) ProtoReflect ¶
func (x *TimeSliceDeleteRequest) ProtoReflect() protoreflect.Message
func (*TimeSliceDeleteRequest) Reset ¶
func (x *TimeSliceDeleteRequest) Reset()
func (*TimeSliceDeleteRequest) String ¶
func (x *TimeSliceDeleteRequest) String() string
type TimeSliceDeleteResponse ¶
type TimeSliceDeleteResponse struct {
// contains filtered or unexported fields
}
TimeSliceDeleteResponse
func (*TimeSliceDeleteResponse) Descriptor
deprecated
func (*TimeSliceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceDeleteResponse.ProtoReflect.Descriptor instead.
func (*TimeSliceDeleteResponse) ProtoMessage ¶
func (*TimeSliceDeleteResponse) ProtoMessage()
func (*TimeSliceDeleteResponse) ProtoReflect ¶
func (x *TimeSliceDeleteResponse) ProtoReflect() protoreflect.Message
func (*TimeSliceDeleteResponse) Reset ¶
func (x *TimeSliceDeleteResponse) Reset()
func (*TimeSliceDeleteResponse) String ¶
func (x *TimeSliceDeleteResponse) String() string
type TimeSlicePartial ¶
type TimeSlicePartial struct { // timer_id_oneof // // Types that are assignable to TimerIdOneof: // // *TimeSlicePartial_TimerId TimerIdOneof isTimeSlicePartial_TimerIdOneof `protobuf_oneof:"timer_id_oneof"` // completed_oneof // // Types that are assignable to CompletedOneof: // // *TimeSlicePartial_Completed CompletedOneof isTimeSlicePartial_CompletedOneof `protobuf_oneof:"completed_oneof"` // start_oneof // // Types that are assignable to StartOneof: // // *TimeSlicePartial_Start StartOneof isTimeSlicePartial_StartOneof `protobuf_oneof:"start_oneof"` // finish_oneof // // Types that are assignable to FinishOneof: // // *TimeSlicePartial_Finish FinishOneof isTimeSlicePartial_FinishOneof `protobuf_oneof:"finish_oneof"` // contains filtered or unexported fields }
TimeSlicePartial
func FromTimeSlicePartial ¶
func FromTimeSlicePartial(t *data.TimeSlicePartial) *TimeSlicePartial
func (*TimeSlicePartial) Descriptor
deprecated
func (*TimeSlicePartial) Descriptor() ([]byte, []int)
Deprecated: Use TimeSlicePartial.ProtoReflect.Descriptor instead.
func (*TimeSlicePartial) GetCompleted ¶
func (x *TimeSlicePartial) GetCompleted() bool
func (*TimeSlicePartial) GetCompletedOneof ¶
func (m *TimeSlicePartial) GetCompletedOneof() isTimeSlicePartial_CompletedOneof
func (*TimeSlicePartial) GetFinish ¶
func (x *TimeSlicePartial) GetFinish() int64
func (*TimeSlicePartial) GetFinishOneof ¶
func (m *TimeSlicePartial) GetFinishOneof() isTimeSlicePartial_FinishOneof
func (*TimeSlicePartial) GetStart ¶
func (x *TimeSlicePartial) GetStart() int64
func (*TimeSlicePartial) GetStartOneof ¶
func (m *TimeSlicePartial) GetStartOneof() isTimeSlicePartial_StartOneof
func (*TimeSlicePartial) GetTimerId ¶
func (x *TimeSlicePartial) GetTimerId() string
func (*TimeSlicePartial) GetTimerIdOneof ¶
func (m *TimeSlicePartial) GetTimerIdOneof() isTimeSlicePartial_TimerIdOneof
func (*TimeSlicePartial) ProtoMessage ¶
func (*TimeSlicePartial) ProtoMessage()
func (*TimeSlicePartial) ProtoReflect ¶
func (x *TimeSlicePartial) ProtoReflect() protoreflect.Message
func (*TimeSlicePartial) Reset ¶
func (x *TimeSlicePartial) Reset()
func (*TimeSlicePartial) String ¶
func (x *TimeSlicePartial) String() string
type TimeSlicePartial_Completed ¶
type TimeSlicePartial_Completed struct { // completed_oneof Completed bool `protobuf:"varint,2,opt,name=completed,proto3,oneof"` }
type TimeSlicePartial_Finish ¶
type TimeSlicePartial_Finish struct { // finish Finish int64 `protobuf:"varint,4,opt,name=finish,proto3,oneof"` }
type TimeSlicePartial_Start ¶
type TimeSlicePartial_Start struct { // start Start int64 `protobuf:"varint,3,opt,name=start,proto3,oneof"` }
type TimeSlicePartial_TimerId ¶
type TimeSlicePartial_TimerId struct { // timer_id TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3,oneof"` }
type TimeSliceReadRequest ¶
type TimeSliceReadRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TimeSliceReadRequest
func (*TimeSliceReadRequest) Descriptor
deprecated
func (*TimeSliceReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceReadRequest.ProtoReflect.Descriptor instead.
func (*TimeSliceReadRequest) GetId ¶
func (x *TimeSliceReadRequest) GetId() string
func (*TimeSliceReadRequest) ProtoMessage ¶
func (*TimeSliceReadRequest) ProtoMessage()
func (*TimeSliceReadRequest) ProtoReflect ¶
func (x *TimeSliceReadRequest) ProtoReflect() protoreflect.Message
func (*TimeSliceReadRequest) Reset ¶
func (x *TimeSliceReadRequest) Reset()
func (*TimeSliceReadRequest) String ¶
func (x *TimeSliceReadRequest) String() string
type TimeSliceReadResponse ¶
type TimeSliceReadResponse struct { // time_slice TimeSlice *TimeSlice `protobuf:"bytes,1,opt,name=time_slice,json=timeSlice,proto3" json:"time_slice,omitempty"` // contains filtered or unexported fields }
TimeSliceReadResponse
func (*TimeSliceReadResponse) Descriptor
deprecated
func (*TimeSliceReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceReadResponse.ProtoReflect.Descriptor instead.
func (*TimeSliceReadResponse) GetTimeSlice ¶
func (x *TimeSliceReadResponse) GetTimeSlice() *TimeSlice
func (*TimeSliceReadResponse) ProtoMessage ¶
func (*TimeSliceReadResponse) ProtoMessage()
func (*TimeSliceReadResponse) ProtoReflect ¶
func (x *TimeSliceReadResponse) ProtoReflect() protoreflect.Message
func (*TimeSliceReadResponse) Reset ¶
func (x *TimeSliceReadResponse) Reset()
func (*TimeSliceReadResponse) String ¶
func (x *TimeSliceReadResponse) String() string
type TimeSliceSearch ¶
type TimeSliceSearch struct { // completed_oneof // // Types that are assignable to CompletedOneof: // // *TimeSliceSearch_Completed CompletedOneof isTimeSliceSearch_CompletedOneof `protobuf_oneof:"completed_oneof"` // timer_id_oneof // // Types that are assignable to TimerIdOneof: // // *TimeSliceSearch_TimerId TimerIdOneof isTimeSliceSearch_TimerIdOneof `protobuf_oneof:"timer_id_oneof"` // timer_ids TimerIds []string `protobuf:"bytes,3,rep,name=timer_ids,json=timerIds,proto3" json:"timer_ids,omitempty"` // ids Ids []string `protobuf:"bytes,4,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
TimeSliceSearch
func ToTimeSliceSearch ¶
func ToTimeSliceSearch(t *data.TimeSliceSearch) *TimeSliceSearch
func (*TimeSliceSearch) Descriptor
deprecated
func (*TimeSliceSearch) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceSearch.ProtoReflect.Descriptor instead.
func (*TimeSliceSearch) GetCompleted ¶
func (x *TimeSliceSearch) GetCompleted() bool
func (*TimeSliceSearch) GetCompletedOneof ¶
func (m *TimeSliceSearch) GetCompletedOneof() isTimeSliceSearch_CompletedOneof
func (*TimeSliceSearch) GetIds ¶
func (x *TimeSliceSearch) GetIds() []string
func (*TimeSliceSearch) GetTimerId ¶
func (x *TimeSliceSearch) GetTimerId() string
func (*TimeSliceSearch) GetTimerIdOneof ¶
func (m *TimeSliceSearch) GetTimerIdOneof() isTimeSliceSearch_TimerIdOneof
func (*TimeSliceSearch) GetTimerIds ¶
func (x *TimeSliceSearch) GetTimerIds() []string
func (*TimeSliceSearch) ProtoMessage ¶
func (*TimeSliceSearch) ProtoMessage()
func (*TimeSliceSearch) ProtoReflect ¶
func (x *TimeSliceSearch) ProtoReflect() protoreflect.Message
func (*TimeSliceSearch) Reset ¶
func (x *TimeSliceSearch) Reset()
func (*TimeSliceSearch) String ¶
func (x *TimeSliceSearch) String() string
type TimeSliceSearch_Completed ¶
type TimeSliceSearch_Completed struct { // completed Completed bool `protobuf:"varint,1,opt,name=completed,proto3,oneof"` }
type TimeSliceSearch_TimerId ¶
type TimeSliceSearch_TimerId struct { // timer_id TimerId string `protobuf:"bytes,2,opt,name=timer_id,json=timerId,proto3,oneof"` }
type TimeSliceUpdateRequest ¶
type TimeSliceUpdateRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // time_slice_partial TimeSlicePartial *TimeSlicePartial `protobuf:"bytes,2,opt,name=time_slice_partial,json=timeSlicePartial,proto3" json:"time_slice_partial,omitempty"` // contains filtered or unexported fields }
TimeSliceUpdateRequest
func (*TimeSliceUpdateRequest) Descriptor
deprecated
func (*TimeSliceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceUpdateRequest.ProtoReflect.Descriptor instead.
func (*TimeSliceUpdateRequest) GetId ¶
func (x *TimeSliceUpdateRequest) GetId() string
func (*TimeSliceUpdateRequest) GetTimeSlicePartial ¶
func (x *TimeSliceUpdateRequest) GetTimeSlicePartial() *TimeSlicePartial
func (*TimeSliceUpdateRequest) ProtoMessage ¶
func (*TimeSliceUpdateRequest) ProtoMessage()
func (*TimeSliceUpdateRequest) ProtoReflect ¶
func (x *TimeSliceUpdateRequest) ProtoReflect() protoreflect.Message
func (*TimeSliceUpdateRequest) Reset ¶
func (x *TimeSliceUpdateRequest) Reset()
func (*TimeSliceUpdateRequest) String ¶
func (x *TimeSliceUpdateRequest) String() string
type TimeSliceUpdateResponse ¶
type TimeSliceUpdateResponse struct { // time_slice TimeSlice *TimeSlice `protobuf:"bytes,1,opt,name=time_slice,json=timeSlice,proto3" json:"time_slice,omitempty"` // contains filtered or unexported fields }
TimeSliceUpdateResponse
func (*TimeSliceUpdateResponse) Descriptor
deprecated
func (*TimeSliceUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimeSliceUpdateResponse.ProtoReflect.Descriptor instead.
func (*TimeSliceUpdateResponse) GetTimeSlice ¶
func (x *TimeSliceUpdateResponse) GetTimeSlice() *TimeSlice
func (*TimeSliceUpdateResponse) ProtoMessage ¶
func (*TimeSliceUpdateResponse) ProtoMessage()
func (*TimeSliceUpdateResponse) ProtoReflect ¶
func (x *TimeSliceUpdateResponse) ProtoReflect() protoreflect.Message
func (*TimeSliceUpdateResponse) Reset ¶
func (x *TimeSliceUpdateResponse) Reset()
func (*TimeSliceUpdateResponse) String ¶
func (x *TimeSliceUpdateResponse) String() string
type TimeSlicesClient ¶
type TimeSlicesClient interface { // time_slice_create TimeSliceCreate(ctx context.Context, in *TimeSliceCreateRequest, opts ...grpc.CallOption) (*TimeSliceCreateResponse, error) // time_slice_read TimeSliceRead(ctx context.Context, in *TimeSliceReadRequest, opts ...grpc.CallOption) (*TimeSliceReadResponse, error) // time_slice_update TimeSliceUpdate(ctx context.Context, in *TimeSliceUpdateRequest, opts ...grpc.CallOption) (*TimeSliceUpdateResponse, error) // time_slice_delete TimeSliceDelete(ctx context.Context, in *TimeSliceDeleteRequest, opts ...grpc.CallOption) (*TimeSliceDeleteResponse, error) // time_slices_read TimeSlicesRead(ctx context.Context, in *TimeSlicesReadRequest, opts ...grpc.CallOption) (*TimeSlicesReadResponse, error) }
TimeSlicesClient is the client API for TimeSlices 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 NewTimeSlicesClient ¶
func NewTimeSlicesClient(cc grpc.ClientConnInterface) TimeSlicesClient
type TimeSlicesReadRequest ¶
type TimeSlicesReadRequest struct { // time_slice_search TimeSliceSearch *TimeSliceSearch `protobuf:"bytes,1,opt,name=time_slice_search,json=timeSliceSearch,proto3" json:"time_slice_search,omitempty"` // contains filtered or unexported fields }
TimeSlicesReadRequest
func (*TimeSlicesReadRequest) Descriptor
deprecated
func (*TimeSlicesReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimeSlicesReadRequest.ProtoReflect.Descriptor instead.
func (*TimeSlicesReadRequest) GetTimeSliceSearch ¶
func (x *TimeSlicesReadRequest) GetTimeSliceSearch() *TimeSliceSearch
func (*TimeSlicesReadRequest) ProtoMessage ¶
func (*TimeSlicesReadRequest) ProtoMessage()
func (*TimeSlicesReadRequest) ProtoReflect ¶
func (x *TimeSlicesReadRequest) ProtoReflect() protoreflect.Message
func (*TimeSlicesReadRequest) Reset ¶
func (x *TimeSlicesReadRequest) Reset()
func (*TimeSlicesReadRequest) String ¶
func (x *TimeSlicesReadRequest) String() string
type TimeSlicesReadResponse ¶
type TimeSlicesReadResponse struct { // time_slices TimeSlices []*TimeSlice `protobuf:"bytes,1,rep,name=time_slices,json=timeSlices,proto3" json:"time_slices,omitempty"` // contains filtered or unexported fields }
TimeSlicesReadResponse
func (*TimeSlicesReadResponse) Descriptor
deprecated
func (*TimeSlicesReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimeSlicesReadResponse.ProtoReflect.Descriptor instead.
func (*TimeSlicesReadResponse) GetTimeSlices ¶
func (x *TimeSlicesReadResponse) GetTimeSlices() []*TimeSlice
func (*TimeSlicesReadResponse) ProtoMessage ¶
func (*TimeSlicesReadResponse) ProtoMessage()
func (*TimeSlicesReadResponse) ProtoReflect ¶
func (x *TimeSlicesReadResponse) ProtoReflect() protoreflect.Message
func (*TimeSlicesReadResponse) Reset ¶
func (x *TimeSlicesReadResponse) Reset()
func (*TimeSlicesReadResponse) String ¶
func (x *TimeSlicesReadResponse) String() string
type TimeSlicesServer ¶
type TimeSlicesServer interface { // time_slice_create TimeSliceCreate(context.Context, *TimeSliceCreateRequest) (*TimeSliceCreateResponse, error) // time_slice_read TimeSliceRead(context.Context, *TimeSliceReadRequest) (*TimeSliceReadResponse, error) // time_slice_update TimeSliceUpdate(context.Context, *TimeSliceUpdateRequest) (*TimeSliceUpdateResponse, error) // time_slice_delete TimeSliceDelete(context.Context, *TimeSliceDeleteRequest) (*TimeSliceDeleteResponse, error) // time_slices_read TimeSlicesRead(context.Context, *TimeSlicesReadRequest) (*TimeSlicesReadResponse, error) // contains filtered or unexported methods }
TimeSlicesServer is the server API for TimeSlices service. All implementations must embed UnimplementedTimeSlicesServer for forward compatibility
type Timer ¶
type Timer struct { // completed Completed bool `protobuf:"varint,1,opt,name=completed,proto3" json:"completed,omitempty"` // archived Archived bool `protobuf:"varint,2,opt,name=archived,proto3" json:"archived,omitempty"` // start Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"` // finish Finish int64 `protobuf:"varint,4,opt,name=finish,proto3" json:"finish,omitempty"` // elapsed_time ElapsedTime int64 `protobuf:"varint,5,opt,name=elapsed_time,json=elapsedTime,proto3" json:"elapsed_time,omitempty"` // employee_id EmployeeId string `protobuf:"bytes,6,opt,name=employee_id,json=employeeId,proto3" json:"employee_id,omitempty"` // active_time_slice_id ActiveTimeSliceId string `protobuf:"bytes,7,opt,name=active_time_slice_id,json=activeTimeSliceId,proto3" json:"active_time_slice_id,omitempty"` // id Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` // comment Comment string `protobuf:"bytes,9,opt,name=comment,proto3" json:"comment,omitempty"` // last_updated LastUpdated int64 `protobuf:"varint,10,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // last_updated_by LastUpdatedBy string `protobuf:"bytes,11,opt,name=last_updated_by,json=lastUpdatedBy,proto3" json:"last_updated_by,omitempty"` // version Version int32 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Timer
func FromTimers ¶
func (*Timer) Descriptor
deprecated
func (*Timer) GetActiveTimeSliceId ¶
func (*Timer) GetArchived ¶
func (*Timer) GetComment ¶
func (*Timer) GetCompleted ¶
func (*Timer) GetElapsedTime ¶
func (*Timer) GetEmployeeId ¶
func (*Timer) GetLastUpdated ¶
func (*Timer) GetLastUpdatedBy ¶
func (*Timer) GetVersion ¶
func (*Timer) ProtoMessage ¶
func (*Timer) ProtoMessage()
func (*Timer) ProtoReflect ¶
func (x *Timer) ProtoReflect() protoreflect.Message
type TimerArchiveRequest ¶
type TimerArchiveRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // archive Archive bool `protobuf:"varint,2,opt,name=archive,proto3" json:"archive,omitempty"` // contains filtered or unexported fields }
TimerArchiveRequest
func (*TimerArchiveRequest) Descriptor
deprecated
func (*TimerArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerArchiveRequest.ProtoReflect.Descriptor instead.
func (*TimerArchiveRequest) GetArchive ¶
func (x *TimerArchiveRequest) GetArchive() bool
func (*TimerArchiveRequest) GetId ¶
func (x *TimerArchiveRequest) GetId() string
func (*TimerArchiveRequest) ProtoMessage ¶
func (*TimerArchiveRequest) ProtoMessage()
func (*TimerArchiveRequest) ProtoReflect ¶
func (x *TimerArchiveRequest) ProtoReflect() protoreflect.Message
func (*TimerArchiveRequest) Reset ¶
func (x *TimerArchiveRequest) Reset()
func (*TimerArchiveRequest) String ¶
func (x *TimerArchiveRequest) String() string
type TimerArchiveResponse ¶
type TimerArchiveResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerArchiveResponse
func (*TimerArchiveResponse) Descriptor
deprecated
func (*TimerArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerArchiveResponse.ProtoReflect.Descriptor instead.
func (*TimerArchiveResponse) GetTimer ¶
func (x *TimerArchiveResponse) GetTimer() *Timer
func (*TimerArchiveResponse) ProtoMessage ¶
func (*TimerArchiveResponse) ProtoMessage()
func (*TimerArchiveResponse) ProtoReflect ¶
func (x *TimerArchiveResponse) ProtoReflect() protoreflect.Message
func (*TimerArchiveResponse) Reset ¶
func (x *TimerArchiveResponse) Reset()
func (*TimerArchiveResponse) String ¶
func (x *TimerArchiveResponse) String() string
type TimerCreateRequest ¶
type TimerCreateRequest struct { // timer_partial TimerPartial *TimerPartial `protobuf:"bytes,1,opt,name=timer_partial,json=timerPartial,proto3" json:"timer_partial,omitempty"` // contains filtered or unexported fields }
TimerCreateRequest
func (*TimerCreateRequest) Descriptor
deprecated
func (*TimerCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerCreateRequest.ProtoReflect.Descriptor instead.
func (*TimerCreateRequest) GetTimerPartial ¶
func (x *TimerCreateRequest) GetTimerPartial() *TimerPartial
func (*TimerCreateRequest) ProtoMessage ¶
func (*TimerCreateRequest) ProtoMessage()
func (*TimerCreateRequest) ProtoReflect ¶
func (x *TimerCreateRequest) ProtoReflect() protoreflect.Message
func (*TimerCreateRequest) Reset ¶
func (x *TimerCreateRequest) Reset()
func (*TimerCreateRequest) String ¶
func (x *TimerCreateRequest) String() string
type TimerCreateResponse ¶
type TimerCreateResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerCreateResponse
func (*TimerCreateResponse) Descriptor
deprecated
func (*TimerCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerCreateResponse.ProtoReflect.Descriptor instead.
func (*TimerCreateResponse) GetTimer ¶
func (x *TimerCreateResponse) GetTimer() *Timer
func (*TimerCreateResponse) ProtoMessage ¶
func (*TimerCreateResponse) ProtoMessage()
func (*TimerCreateResponse) ProtoReflect ¶
func (x *TimerCreateResponse) ProtoReflect() protoreflect.Message
func (*TimerCreateResponse) Reset ¶
func (x *TimerCreateResponse) Reset()
func (*TimerCreateResponse) String ¶
func (x *TimerCreateResponse) String() string
type TimerDeleteRequest ¶
type TimerDeleteRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TimerDeleteRequest
func (*TimerDeleteRequest) Descriptor
deprecated
func (*TimerDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerDeleteRequest.ProtoReflect.Descriptor instead.
func (*TimerDeleteRequest) GetId ¶
func (x *TimerDeleteRequest) GetId() string
func (*TimerDeleteRequest) ProtoMessage ¶
func (*TimerDeleteRequest) ProtoMessage()
func (*TimerDeleteRequest) ProtoReflect ¶
func (x *TimerDeleteRequest) ProtoReflect() protoreflect.Message
func (*TimerDeleteRequest) Reset ¶
func (x *TimerDeleteRequest) Reset()
func (*TimerDeleteRequest) String ¶
func (x *TimerDeleteRequest) String() string
type TimerDeleteResponse ¶
type TimerDeleteResponse struct {
// contains filtered or unexported fields
}
TimerDeleteResponse
func (*TimerDeleteResponse) Descriptor
deprecated
func (*TimerDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerDeleteResponse.ProtoReflect.Descriptor instead.
func (*TimerDeleteResponse) ProtoMessage ¶
func (*TimerDeleteResponse) ProtoMessage()
func (*TimerDeleteResponse) ProtoReflect ¶
func (x *TimerDeleteResponse) ProtoReflect() protoreflect.Message
func (*TimerDeleteResponse) Reset ¶
func (x *TimerDeleteResponse) Reset()
func (*TimerDeleteResponse) String ¶
func (x *TimerDeleteResponse) String() string
type TimerPartial ¶
type TimerPartial struct { // completed_oneof // // Types that are assignable to CompletedOneof: // // *TimerPartial_Completed CompletedOneof isTimerPartial_CompletedOneof `protobuf_oneof:"completed_oneof"` // archived_oneof // // Types that are assignable to ArchivedOneof: // // *TimerPartial_Archived ArchivedOneof isTimerPartial_ArchivedOneof `protobuf_oneof:"archived_oneof"` // employee_id_oneof // // Types that are assignable to EmployeeIdOneof: // // *TimerPartial_EmployeeId EmployeeIdOneof isTimerPartial_EmployeeIdOneof `protobuf_oneof:"employee_id_oneof"` // comment_oneof // // Types that are assignable to CommentOneof: // // *TimerPartial_Comment CommentOneof isTimerPartial_CommentOneof `protobuf_oneof:"comment_oneof"` // finish_oneof // // Types that are assignable to FinishOneof: // // *TimerPartial_Finish FinishOneof isTimerPartial_FinishOneof `protobuf_oneof:"finish_oneof"` // contains filtered or unexported fields }
TimerPartial
func FromTimerPartial ¶
func FromTimerPartial(t *data.TimerPartial) *TimerPartial
func (*TimerPartial) Descriptor
deprecated
func (*TimerPartial) Descriptor() ([]byte, []int)
Deprecated: Use TimerPartial.ProtoReflect.Descriptor instead.
func (*TimerPartial) GetArchived ¶
func (x *TimerPartial) GetArchived() bool
func (*TimerPartial) GetArchivedOneof ¶
func (m *TimerPartial) GetArchivedOneof() isTimerPartial_ArchivedOneof
func (*TimerPartial) GetComment ¶
func (x *TimerPartial) GetComment() string
func (*TimerPartial) GetCommentOneof ¶
func (m *TimerPartial) GetCommentOneof() isTimerPartial_CommentOneof
func (*TimerPartial) GetCompleted ¶
func (x *TimerPartial) GetCompleted() bool
func (*TimerPartial) GetCompletedOneof ¶
func (m *TimerPartial) GetCompletedOneof() isTimerPartial_CompletedOneof
func (*TimerPartial) GetEmployeeId ¶
func (x *TimerPartial) GetEmployeeId() string
func (*TimerPartial) GetEmployeeIdOneof ¶
func (m *TimerPartial) GetEmployeeIdOneof() isTimerPartial_EmployeeIdOneof
func (*TimerPartial) GetFinish ¶
func (x *TimerPartial) GetFinish() int64
func (*TimerPartial) GetFinishOneof ¶
func (m *TimerPartial) GetFinishOneof() isTimerPartial_FinishOneof
func (*TimerPartial) ProtoMessage ¶
func (*TimerPartial) ProtoMessage()
func (*TimerPartial) ProtoReflect ¶
func (x *TimerPartial) ProtoReflect() protoreflect.Message
func (*TimerPartial) Reset ¶
func (x *TimerPartial) Reset()
func (*TimerPartial) String ¶
func (x *TimerPartial) String() string
type TimerPartial_Archived ¶
type TimerPartial_Archived struct { // archived Archived bool `protobuf:"varint,2,opt,name=archived,proto3,oneof"` }
type TimerPartial_Comment ¶
type TimerPartial_Comment struct { // comment Comment string `protobuf:"bytes,4,opt,name=comment,proto3,oneof"` }
type TimerPartial_Completed ¶
type TimerPartial_Completed struct { // completed_oneof Completed bool `protobuf:"varint,1,opt,name=completed,proto3,oneof"` }
type TimerPartial_EmployeeId ¶
type TimerPartial_EmployeeId struct { // employee_id EmployeeId string `protobuf:"bytes,3,opt,name=employee_id,json=employeeId,proto3,oneof"` }
type TimerPartial_Finish ¶
type TimerPartial_Finish struct { // finish Finish int64 `protobuf:"varint,5,opt,name=finish,proto3,oneof"` }
type TimerReadRequest ¶
type TimerReadRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TimerReadRequest
func (*TimerReadRequest) Descriptor
deprecated
func (*TimerReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerReadRequest.ProtoReflect.Descriptor instead.
func (*TimerReadRequest) GetId ¶
func (x *TimerReadRequest) GetId() string
func (*TimerReadRequest) ProtoMessage ¶
func (*TimerReadRequest) ProtoMessage()
func (*TimerReadRequest) ProtoReflect ¶
func (x *TimerReadRequest) ProtoReflect() protoreflect.Message
func (*TimerReadRequest) Reset ¶
func (x *TimerReadRequest) Reset()
func (*TimerReadRequest) String ¶
func (x *TimerReadRequest) String() string
type TimerReadResponse ¶
type TimerReadResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerReadResponse
func (*TimerReadResponse) Descriptor
deprecated
func (*TimerReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerReadResponse.ProtoReflect.Descriptor instead.
func (*TimerReadResponse) GetTimer ¶
func (x *TimerReadResponse) GetTimer() *Timer
func (*TimerReadResponse) ProtoMessage ¶
func (*TimerReadResponse) ProtoMessage()
func (*TimerReadResponse) ProtoReflect ¶
func (x *TimerReadResponse) ProtoReflect() protoreflect.Message
func (*TimerReadResponse) Reset ¶
func (x *TimerReadResponse) Reset()
func (*TimerReadResponse) String ¶
func (x *TimerReadResponse) String() string
type TimerSearch ¶
type TimerSearch struct { // employee_id_oneof // // Types that are assignable to EmployeeIdOneof: // // *TimerSearch_EmployeeId EmployeeIdOneof isTimerSearch_EmployeeIdOneof `protobuf_oneof:"employee_id_oneof"` // employee_ids EmployeeIds []string `protobuf:"bytes,2,rep,name=employee_ids,json=employeeIds,proto3" json:"employee_ids,omitempty"` // completed_oneof // // Types that are assignable to CompletedOneof: // // *TimerSearch_Completed CompletedOneof isTimerSearch_CompletedOneof `protobuf_oneof:"completed_oneof"` // archived_oneof // // Types that are assignable to ArchivedOneof: // // *TimerSearch_Archived ArchivedOneof isTimerSearch_ArchivedOneof `protobuf_oneof:"archived_oneof"` // ids Ids []string `protobuf:"bytes,5,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
TimerSearch
func ToTimerSearch ¶
func ToTimerSearch(t *data.TimerSearch) *TimerSearch
func (*TimerSearch) Descriptor
deprecated
func (*TimerSearch) Descriptor() ([]byte, []int)
Deprecated: Use TimerSearch.ProtoReflect.Descriptor instead.
func (*TimerSearch) GetArchived ¶
func (x *TimerSearch) GetArchived() bool
func (*TimerSearch) GetArchivedOneof ¶
func (m *TimerSearch) GetArchivedOneof() isTimerSearch_ArchivedOneof
func (*TimerSearch) GetCompleted ¶
func (x *TimerSearch) GetCompleted() bool
func (*TimerSearch) GetCompletedOneof ¶
func (m *TimerSearch) GetCompletedOneof() isTimerSearch_CompletedOneof
func (*TimerSearch) GetEmployeeId ¶
func (x *TimerSearch) GetEmployeeId() string
func (*TimerSearch) GetEmployeeIdOneof ¶
func (m *TimerSearch) GetEmployeeIdOneof() isTimerSearch_EmployeeIdOneof
func (*TimerSearch) GetEmployeeIds ¶
func (x *TimerSearch) GetEmployeeIds() []string
func (*TimerSearch) GetIds ¶
func (x *TimerSearch) GetIds() []string
func (*TimerSearch) ProtoMessage ¶
func (*TimerSearch) ProtoMessage()
func (*TimerSearch) ProtoReflect ¶
func (x *TimerSearch) ProtoReflect() protoreflect.Message
func (*TimerSearch) Reset ¶
func (x *TimerSearch) Reset()
func (*TimerSearch) String ¶
func (x *TimerSearch) String() string
type TimerSearch_Archived ¶
type TimerSearch_Archived struct { // archived Archived bool `protobuf:"varint,4,opt,name=archived,proto3,oneof"` }
type TimerSearch_Completed ¶
type TimerSearch_Completed struct { // completed Completed bool `protobuf:"varint,3,opt,name=completed,proto3,oneof"` }
type TimerSearch_EmployeeId ¶
type TimerSearch_EmployeeId struct { // employee_id EmployeeId string `protobuf:"bytes,1,opt,name=employee_id,json=employeeId,proto3,oneof"` }
type TimerStartRequest ¶
type TimerStartRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TimerStartRequest
func (*TimerStartRequest) Descriptor
deprecated
func (*TimerStartRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerStartRequest.ProtoReflect.Descriptor instead.
func (*TimerStartRequest) GetId ¶
func (x *TimerStartRequest) GetId() string
func (*TimerStartRequest) ProtoMessage ¶
func (*TimerStartRequest) ProtoMessage()
func (*TimerStartRequest) ProtoReflect ¶
func (x *TimerStartRequest) ProtoReflect() protoreflect.Message
func (*TimerStartRequest) Reset ¶
func (x *TimerStartRequest) Reset()
func (*TimerStartRequest) String ¶
func (x *TimerStartRequest) String() string
type TimerStartResponse ¶
type TimerStartResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerStartResponse
func (*TimerStartResponse) Descriptor
deprecated
func (*TimerStartResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerStartResponse.ProtoReflect.Descriptor instead.
func (*TimerStartResponse) GetTimer ¶
func (x *TimerStartResponse) GetTimer() *Timer
func (*TimerStartResponse) ProtoMessage ¶
func (*TimerStartResponse) ProtoMessage()
func (*TimerStartResponse) ProtoReflect ¶
func (x *TimerStartResponse) ProtoReflect() protoreflect.Message
func (*TimerStartResponse) Reset ¶
func (x *TimerStartResponse) Reset()
func (*TimerStartResponse) String ¶
func (x *TimerStartResponse) String() string
type TimerStopRequest ¶
type TimerStopRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
TimerStopRequest
func (*TimerStopRequest) Descriptor
deprecated
func (*TimerStopRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerStopRequest.ProtoReflect.Descriptor instead.
func (*TimerStopRequest) GetId ¶
func (x *TimerStopRequest) GetId() string
func (*TimerStopRequest) ProtoMessage ¶
func (*TimerStopRequest) ProtoMessage()
func (*TimerStopRequest) ProtoReflect ¶
func (x *TimerStopRequest) ProtoReflect() protoreflect.Message
func (*TimerStopRequest) Reset ¶
func (x *TimerStopRequest) Reset()
func (*TimerStopRequest) String ¶
func (x *TimerStopRequest) String() string
type TimerStopResponse ¶
type TimerStopResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerStopResponse
func (*TimerStopResponse) Descriptor
deprecated
func (*TimerStopResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerStopResponse.ProtoReflect.Descriptor instead.
func (*TimerStopResponse) GetTimer ¶
func (x *TimerStopResponse) GetTimer() *Timer
func (*TimerStopResponse) ProtoMessage ¶
func (*TimerStopResponse) ProtoMessage()
func (*TimerStopResponse) ProtoReflect ¶
func (x *TimerStopResponse) ProtoReflect() protoreflect.Message
func (*TimerStopResponse) Reset ¶
func (x *TimerStopResponse) Reset()
func (*TimerStopResponse) String ¶
func (x *TimerStopResponse) String() string
type TimerSubmitRequest ¶
type TimerSubmitRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // fnish_oneof // // Types that are assignable to FinishOneof: // // *TimerSubmitRequest_Finish FinishOneof isTimerSubmitRequest_FinishOneof `protobuf_oneof:"finish_oneof"` // contains filtered or unexported fields }
TimerSubmitRequest
func (*TimerSubmitRequest) Descriptor
deprecated
func (*TimerSubmitRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerSubmitRequest.ProtoReflect.Descriptor instead.
func (*TimerSubmitRequest) GetFinish ¶
func (x *TimerSubmitRequest) GetFinish() int64
func (*TimerSubmitRequest) GetFinishOneof ¶
func (m *TimerSubmitRequest) GetFinishOneof() isTimerSubmitRequest_FinishOneof
func (*TimerSubmitRequest) GetId ¶
func (x *TimerSubmitRequest) GetId() string
func (*TimerSubmitRequest) ProtoMessage ¶
func (*TimerSubmitRequest) ProtoMessage()
func (*TimerSubmitRequest) ProtoReflect ¶
func (x *TimerSubmitRequest) ProtoReflect() protoreflect.Message
func (*TimerSubmitRequest) Reset ¶
func (x *TimerSubmitRequest) Reset()
func (*TimerSubmitRequest) String ¶
func (x *TimerSubmitRequest) String() string
type TimerSubmitRequest_Finish ¶
type TimerSubmitRequest_Finish struct { // finish Finish int64 `protobuf:"varint,2,opt,name=finish,proto3,oneof"` }
type TimerSubmitResponse ¶
type TimerSubmitResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerSubmitResponse
func (*TimerSubmitResponse) Descriptor
deprecated
func (*TimerSubmitResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerSubmitResponse.ProtoReflect.Descriptor instead.
func (*TimerSubmitResponse) GetTimer ¶
func (x *TimerSubmitResponse) GetTimer() *Timer
func (*TimerSubmitResponse) ProtoMessage ¶
func (*TimerSubmitResponse) ProtoMessage()
func (*TimerSubmitResponse) ProtoReflect ¶
func (x *TimerSubmitResponse) ProtoReflect() protoreflect.Message
func (*TimerSubmitResponse) Reset ¶
func (x *TimerSubmitResponse) Reset()
func (*TimerSubmitResponse) String ¶
func (x *TimerSubmitResponse) String() string
type TimerUpdateCommentRequest ¶
type TimerUpdateCommentRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // comment Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
TimerUpdateCommentRequest
func (*TimerUpdateCommentRequest) Descriptor
deprecated
func (*TimerUpdateCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerUpdateCommentRequest.ProtoReflect.Descriptor instead.
func (*TimerUpdateCommentRequest) GetComment ¶
func (x *TimerUpdateCommentRequest) GetComment() string
func (*TimerUpdateCommentRequest) GetId ¶
func (x *TimerUpdateCommentRequest) GetId() string
func (*TimerUpdateCommentRequest) ProtoMessage ¶
func (*TimerUpdateCommentRequest) ProtoMessage()
func (*TimerUpdateCommentRequest) ProtoReflect ¶
func (x *TimerUpdateCommentRequest) ProtoReflect() protoreflect.Message
func (*TimerUpdateCommentRequest) Reset ¶
func (x *TimerUpdateCommentRequest) Reset()
func (*TimerUpdateCommentRequest) String ¶
func (x *TimerUpdateCommentRequest) String() string
type TimerUpdateCommentResponse ¶
type TimerUpdateCommentResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerUpdateCommentResponse
func (*TimerUpdateCommentResponse) Descriptor
deprecated
func (*TimerUpdateCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerUpdateCommentResponse.ProtoReflect.Descriptor instead.
func (*TimerUpdateCommentResponse) GetTimer ¶
func (x *TimerUpdateCommentResponse) GetTimer() *Timer
func (*TimerUpdateCommentResponse) ProtoMessage ¶
func (*TimerUpdateCommentResponse) ProtoMessage()
func (*TimerUpdateCommentResponse) ProtoReflect ¶
func (x *TimerUpdateCommentResponse) ProtoReflect() protoreflect.Message
func (*TimerUpdateCommentResponse) Reset ¶
func (x *TimerUpdateCommentResponse) Reset()
func (*TimerUpdateCommentResponse) String ¶
func (x *TimerUpdateCommentResponse) String() string
type TimerUpdateRequest ¶
type TimerUpdateRequest struct { // id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // timer_partial TimerPartial *TimerPartial `protobuf:"bytes,2,opt,name=timer_partial,json=timerPartial,proto3" json:"timer_partial,omitempty"` // contains filtered or unexported fields }
TimerUpdateRequest
func (*TimerUpdateRequest) Descriptor
deprecated
func (*TimerUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimerUpdateRequest.ProtoReflect.Descriptor instead.
func (*TimerUpdateRequest) GetId ¶
func (x *TimerUpdateRequest) GetId() string
func (*TimerUpdateRequest) GetTimerPartial ¶
func (x *TimerUpdateRequest) GetTimerPartial() *TimerPartial
func (*TimerUpdateRequest) ProtoMessage ¶
func (*TimerUpdateRequest) ProtoMessage()
func (*TimerUpdateRequest) ProtoReflect ¶
func (x *TimerUpdateRequest) ProtoReflect() protoreflect.Message
func (*TimerUpdateRequest) Reset ¶
func (x *TimerUpdateRequest) Reset()
func (*TimerUpdateRequest) String ¶
func (x *TimerUpdateRequest) String() string
type TimerUpdateResponse ¶
type TimerUpdateResponse struct { // timer Timer *Timer `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"` // contains filtered or unexported fields }
TimerUpdateResponse
func (*TimerUpdateResponse) Descriptor
deprecated
func (*TimerUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimerUpdateResponse.ProtoReflect.Descriptor instead.
func (*TimerUpdateResponse) GetTimer ¶
func (x *TimerUpdateResponse) GetTimer() *Timer
func (*TimerUpdateResponse) ProtoMessage ¶
func (*TimerUpdateResponse) ProtoMessage()
func (*TimerUpdateResponse) ProtoReflect ¶
func (x *TimerUpdateResponse) ProtoReflect() protoreflect.Message
func (*TimerUpdateResponse) Reset ¶
func (x *TimerUpdateResponse) Reset()
func (*TimerUpdateResponse) String ¶
func (x *TimerUpdateResponse) String() string
type TimersClient ¶
type TimersClient interface { // timer_create TimerCreate(ctx context.Context, in *TimerCreateRequest, opts ...grpc.CallOption) (*TimerCreateResponse, error) // timer_read TimerRead(ctx context.Context, in *TimerReadRequest, opts ...grpc.CallOption) (*TimerReadResponse, error) // timer_delete TimerDelete(ctx context.Context, in *TimerDeleteRequest, opts ...grpc.CallOption) (*TimerDeleteResponse, error) // timers_read TimersRead(ctx context.Context, in *TimersReadRequest, opts ...grpc.CallOption) (*TimersReadResponse, error) // timer_update TimerUpdate(ctx context.Context, in *TimerUpdateRequest, opts ...grpc.CallOption) (*TimerUpdateResponse, error) // timer_start TimerStart(ctx context.Context, in *TimerStartRequest, opts ...grpc.CallOption) (*TimerStartResponse, error) // timer_stop TimerStop(ctx context.Context, in *TimerStopRequest, opts ...grpc.CallOption) (*TimerStopResponse, error) // timer_submit TimerSubmit(ctx context.Context, in *TimerSubmitRequest, opts ...grpc.CallOption) (*TimerSubmitResponse, error) }
TimersClient is the client API for Timers 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 NewTimersClient ¶
func NewTimersClient(cc grpc.ClientConnInterface) TimersClient
type TimersReadRequest ¶
type TimersReadRequest struct { // timer_search TimerSearch *TimerSearch `protobuf:"bytes,1,opt,name=timer_search,json=timerSearch,proto3" json:"timer_search,omitempty"` // contains filtered or unexported fields }
TimersReadRequest
func (*TimersReadRequest) Descriptor
deprecated
func (*TimersReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use TimersReadRequest.ProtoReflect.Descriptor instead.
func (*TimersReadRequest) GetTimerSearch ¶
func (x *TimersReadRequest) GetTimerSearch() *TimerSearch
func (*TimersReadRequest) ProtoMessage ¶
func (*TimersReadRequest) ProtoMessage()
func (*TimersReadRequest) ProtoReflect ¶
func (x *TimersReadRequest) ProtoReflect() protoreflect.Message
func (*TimersReadRequest) Reset ¶
func (x *TimersReadRequest) Reset()
func (*TimersReadRequest) String ¶
func (x *TimersReadRequest) String() string
type TimersReadResponse ¶
type TimersReadResponse struct { // timers Timers []*Timer `protobuf:"bytes,1,rep,name=timers,proto3" json:"timers,omitempty"` // contains filtered or unexported fields }
TimersReadResponse
func (*TimersReadResponse) Descriptor
deprecated
func (*TimersReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimersReadResponse.ProtoReflect.Descriptor instead.
func (*TimersReadResponse) GetTimers ¶
func (x *TimersReadResponse) GetTimers() []*Timer
func (*TimersReadResponse) ProtoMessage ¶
func (*TimersReadResponse) ProtoMessage()
func (*TimersReadResponse) ProtoReflect ¶
func (x *TimersReadResponse) ProtoReflect() protoreflect.Message
func (*TimersReadResponse) Reset ¶
func (x *TimersReadResponse) Reset()
func (*TimersReadResponse) String ¶
func (x *TimersReadResponse) String() string
type TimersServer ¶
type TimersServer interface { // timer_create TimerCreate(context.Context, *TimerCreateRequest) (*TimerCreateResponse, error) // timer_read TimerRead(context.Context, *TimerReadRequest) (*TimerReadResponse, error) // timer_delete TimerDelete(context.Context, *TimerDeleteRequest) (*TimerDeleteResponse, error) // timers_read TimersRead(context.Context, *TimersReadRequest) (*TimersReadResponse, error) // timer_update TimerUpdate(context.Context, *TimerUpdateRequest) (*TimerUpdateResponse, error) // timer_start TimerStart(context.Context, *TimerStartRequest) (*TimerStartResponse, error) // timer_stop TimerStop(context.Context, *TimerStopRequest) (*TimerStopResponse, error) // timer_submit TimerSubmit(context.Context, *TimerSubmitRequest) (*TimerSubmitResponse, error) // contains filtered or unexported methods }
TimersServer is the server API for Timers service. All implementations must embed UnimplementedTimersServer for forward compatibility
type UnimplementedTimeSlicesServer ¶
type UnimplementedTimeSlicesServer struct { }
UnimplementedTimeSlicesServer must be embedded to have forward compatible implementations.
func (UnimplementedTimeSlicesServer) TimeSliceCreate ¶
func (UnimplementedTimeSlicesServer) TimeSliceCreate(context.Context, *TimeSliceCreateRequest) (*TimeSliceCreateResponse, error)
func (UnimplementedTimeSlicesServer) TimeSliceDelete ¶
func (UnimplementedTimeSlicesServer) TimeSliceDelete(context.Context, *TimeSliceDeleteRequest) (*TimeSliceDeleteResponse, error)
func (UnimplementedTimeSlicesServer) TimeSliceRead ¶
func (UnimplementedTimeSlicesServer) TimeSliceRead(context.Context, *TimeSliceReadRequest) (*TimeSliceReadResponse, error)
func (UnimplementedTimeSlicesServer) TimeSliceUpdate ¶
func (UnimplementedTimeSlicesServer) TimeSliceUpdate(context.Context, *TimeSliceUpdateRequest) (*TimeSliceUpdateResponse, error)
func (UnimplementedTimeSlicesServer) TimeSlicesRead ¶
func (UnimplementedTimeSlicesServer) TimeSlicesRead(context.Context, *TimeSlicesReadRequest) (*TimeSlicesReadResponse, error)
type UnimplementedTimersServer ¶
type UnimplementedTimersServer struct { }
UnimplementedTimersServer must be embedded to have forward compatible implementations.
func (UnimplementedTimersServer) TimerCreate ¶
func (UnimplementedTimersServer) TimerCreate(context.Context, *TimerCreateRequest) (*TimerCreateResponse, error)
func (UnimplementedTimersServer) TimerDelete ¶
func (UnimplementedTimersServer) TimerDelete(context.Context, *TimerDeleteRequest) (*TimerDeleteResponse, error)
func (UnimplementedTimersServer) TimerRead ¶
func (UnimplementedTimersServer) TimerRead(context.Context, *TimerReadRequest) (*TimerReadResponse, error)
func (UnimplementedTimersServer) TimerStart ¶
func (UnimplementedTimersServer) TimerStart(context.Context, *TimerStartRequest) (*TimerStartResponse, error)
func (UnimplementedTimersServer) TimerStop ¶
func (UnimplementedTimersServer) TimerStop(context.Context, *TimerStopRequest) (*TimerStopResponse, error)
func (UnimplementedTimersServer) TimerSubmit ¶
func (UnimplementedTimersServer) TimerSubmit(context.Context, *TimerSubmitRequest) (*TimerSubmitResponse, error)
func (UnimplementedTimersServer) TimerUpdate ¶ added in v1.3.1
func (UnimplementedTimersServer) TimerUpdate(context.Context, *TimerUpdateRequest) (*TimerUpdateResponse, error)
func (UnimplementedTimersServer) TimersRead ¶
func (UnimplementedTimersServer) TimersRead(context.Context, *TimersReadRequest) (*TimersReadResponse, error)
type UnsafeTimeSlicesServer ¶
type UnsafeTimeSlicesServer interface {
// contains filtered or unexported methods
}
UnsafeTimeSlicesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TimeSlicesServer will result in compilation errors.
type UnsafeTimersServer ¶
type UnsafeTimersServer interface {
// contains filtered or unexported methods
}
UnsafeTimersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TimersServer will result in compilation errors.