Versions in this module Expand all Collapse all v0 v0.1.2 Nov 28, 2017 v0.1.1 Nov 28, 2017 Changes in this version + var StopRequest_Reason_name = map[int32]string + var StopRequest_Reason_value = map[string]int32 + func RegisterChessClockServer(s *grpc.Server, srv ChessClockServer) + type ChessClockClient interface + ListTags func(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) + ListTimeSheets func(ctx context.Context, in *ListTimeSheetsRequest, opts ...grpc.CallOption) (*ListTimeSheetsResponse, error) + Schedule func(ctx context.Context, in *ScheduleRequest, opts ...grpc.CallOption) (*ScheduleResponse, error) + Start func(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) + Stop func(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) + Tally func(ctx context.Context, in *TallyRequest, opts ...grpc.CallOption) (*TallyResponse, error) + Version func(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) + func NewChessClockClient(cc *grpc.ClientConn) ChessClockClient + type ChessClockServer interface + ListTags func(context.Context, *ListTagsRequest) (*ListTagsResponse, error) + ListTimeSheets func(context.Context, *ListTimeSheetsRequest) (*ListTimeSheetsResponse, error) + Schedule func(context.Context, *ScheduleRequest) (*ScheduleResponse, error) + Start func(context.Context, *StartRequest) (*StartResponse, error) + Stop func(context.Context, *StopRequest) (*StopResponse, error) + Tally func(context.Context, *TallyRequest) (*TallyResponse, error) + Version func(context.Context, *VersionRequest) (*VersionResponse, error) + type ListTagsRequest struct + Date int64 + func (*ListTagsRequest) Descriptor() ([]byte, []int) + func (*ListTagsRequest) ProtoMessage() + func (m *ListTagsRequest) GetDate() int64 + func (m *ListTagsRequest) Reset() + func (m *ListTagsRequest) String() string + type ListTagsResponse struct + Tags []string + func (*ListTagsResponse) Descriptor() ([]byte, []int) + func (*ListTagsResponse) ProtoMessage() + func (m *ListTagsResponse) GetTags() []string + func (m *ListTagsResponse) Reset() + func (m *ListTagsResponse) String() string + type ListTimeSheetsRequest struct + func (*ListTimeSheetsRequest) Descriptor() ([]byte, []int) + func (*ListTimeSheetsRequest) ProtoMessage() + func (m *ListTimeSheetsRequest) Reset() + func (m *ListTimeSheetsRequest) String() string + type ListTimeSheetsResponse struct + Dates []int64 + func (*ListTimeSheetsResponse) Descriptor() ([]byte, []int) + func (*ListTimeSheetsResponse) ProtoMessage() + func (m *ListTimeSheetsResponse) GetDates() []int64 + func (m *ListTimeSheetsResponse) Reset() + func (m *ListTimeSheetsResponse) String() string + type ScheduleRequest struct + Date int64 + func (*ScheduleRequest) Descriptor() ([]byte, []int) + func (*ScheduleRequest) ProtoMessage() + func (m *ScheduleRequest) GetDate() int64 + func (m *ScheduleRequest) Reset() + func (m *ScheduleRequest) String() string + type ScheduleResponse struct + Tasks []*ScheduleResponse_Task + func (*ScheduleResponse) Descriptor() ([]byte, []int) + func (*ScheduleResponse) ProtoMessage() + func (m *ScheduleResponse) GetTasks() []*ScheduleResponse_Task + func (m *ScheduleResponse) Reset() + func (m *ScheduleResponse) String() string + type ScheduleResponse_Task struct + Description string + Tag string + Timestamp int64 + func (*ScheduleResponse_Task) Descriptor() ([]byte, []int) + func (*ScheduleResponse_Task) ProtoMessage() + func (m *ScheduleResponse_Task) GetDescription() string + func (m *ScheduleResponse_Task) GetTag() string + func (m *ScheduleResponse_Task) GetTimestamp() int64 + func (m *ScheduleResponse_Task) Reset() + func (m *ScheduleResponse_Task) String() string + type StartRequest struct + Description string + Tag string + Timestamp int64 + func (*StartRequest) Descriptor() ([]byte, []int) + func (*StartRequest) ProtoMessage() + func (m *StartRequest) GetDescription() string + func (m *StartRequest) GetTag() string + func (m *StartRequest) GetTimestamp() int64 + func (m *StartRequest) Reset() + func (m *StartRequest) String() string + type StartResponse struct + func (*StartResponse) Descriptor() ([]byte, []int) + func (*StartResponse) ProtoMessage() + func (m *StartResponse) Reset() + func (m *StartResponse) String() string + type StopRequest struct + Reason StopRequest_Reason + Timestamp int64 + func (*StopRequest) Descriptor() ([]byte, []int) + func (*StopRequest) ProtoMessage() + func (m *StopRequest) GetReason() StopRequest_Reason + func (m *StopRequest) GetTimestamp() int64 + func (m *StopRequest) Reset() + func (m *StopRequest) String() string + type StopRequest_Reason int32 + const StopRequest_Break + const StopRequest_EndOfDay + const StopRequest_Lunch + func (StopRequest_Reason) EnumDescriptor() ([]byte, []int) + func (x StopRequest_Reason) String() string + type StopResponse struct + func (*StopResponse) Descriptor() ([]byte, []int) + func (*StopResponse) ProtoMessage() + func (m *StopResponse) Reset() + func (m *StopResponse) String() string + type TallyRequest struct + Date int64 + func (*TallyRequest) Descriptor() ([]byte, []int) + func (*TallyRequest) ProtoMessage() + func (m *TallyRequest) GetDate() int64 + func (m *TallyRequest) Reset() + func (m *TallyRequest) String() string + type TallyResponse struct + Tasks []*TallyResponse_Task + func (*TallyResponse) Descriptor() ([]byte, []int) + func (*TallyResponse) ProtoMessage() + func (m *TallyResponse) GetTasks() []*TallyResponse_Task + func (m *TallyResponse) Reset() + func (m *TallyResponse) String() string + type TallyResponse_Task struct + Description string + Tag string + Timespan int64 + func (*TallyResponse_Task) Descriptor() ([]byte, []int) + func (*TallyResponse_Task) ProtoMessage() + func (m *TallyResponse_Task) GetDescription() string + func (m *TallyResponse_Task) GetTag() string + func (m *TallyResponse_Task) GetTimespan() int64 + func (m *TallyResponse_Task) Reset() + func (m *TallyResponse_Task) String() string + type VersionRequest struct + func (*VersionRequest) Descriptor() ([]byte, []int) + func (*VersionRequest) ProtoMessage() + func (m *VersionRequest) Reset() + func (m *VersionRequest) String() string + type VersionResponse struct + Version string + func (*VersionResponse) Descriptor() ([]byte, []int) + func (*VersionResponse) ProtoMessage() + func (m *VersionResponse) GetVersion() string + func (m *VersionResponse) Reset() + func (m *VersionResponse) String() string