Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
- func RegisterKpiServiceServer(s grpc.ServiceRegistrar, srv KpiServiceServer)
- func RegisterOkrServiceServer(s grpc.ServiceRegistrar, srv OkrServiceServer)
- type DeleteEventRequest
- func (*DeleteEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEventRequest) GetEventID() string
- func (*DeleteEventRequest) ProtoMessage()
- func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEventRequest) Reset()
- func (x *DeleteEventRequest) String() string
- type DeleteEventResponse
- type DeleteKpiRequest
- type DeleteKpiResponse
- type DeleteOkrRequest
- type DeleteOkrResponse
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetDepartment() string
- func (x *Event) GetDescription() string
- func (x *Event) GetEventId() string
- func (x *Event) GetEventPrivacy() EventPrivacy
- func (x *Event) GetName() string
- func (x *Event) GetRegions() []string
- func (x *Event) GetStartAt() *_type.DateTime
- func (x *Event) GetTags() []string
- func (x *Event) GetType() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventPrivacy
- func (EventPrivacy) Descriptor() protoreflect.EnumDescriptor
- func (x EventPrivacy) Enum() *EventPrivacy
- func (EventPrivacy) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventPrivacy) Number() protoreflect.EnumNumber
- func (x EventPrivacy) String() string
- func (EventPrivacy) Type() protoreflect.EnumType
- type EventServiceClient
- type EventServiceServer
- type GetEventRequest
- type GetEventResponse
- type GetEventsRequest
- func (*GetEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventsRequest) GetPage() int32
- func (x *GetEventsRequest) GetPageSize() int32
- func (x *GetEventsRequest) GetSearch() string
- func (*GetEventsRequest) ProtoMessage()
- func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventsRequest) Reset()
- func (x *GetEventsRequest) String() string
- type GetEventsResponse
- func (*GetEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventsResponse) GetEvents() []*Event
- func (x *GetEventsResponse) GetPage() int32
- func (x *GetEventsResponse) GetPageSize() int32
- func (x *GetEventsResponse) GetTotalCount() int32
- func (*GetEventsResponse) ProtoMessage()
- func (x *GetEventsResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventsResponse) Reset()
- func (x *GetEventsResponse) String() string
- type GetKpiRequest
- type GetKpiResponse
- type GetKpisRequest
- func (*GetKpisRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKpisRequest) GetPage() int32
- func (x *GetKpisRequest) GetPageSize() int32
- func (x *GetKpisRequest) GetSearch() string
- func (*GetKpisRequest) ProtoMessage()
- func (x *GetKpisRequest) ProtoReflect() protoreflect.Message
- func (x *GetKpisRequest) Reset()
- func (x *GetKpisRequest) String() string
- type GetKpisResponse
- func (*GetKpisResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKpisResponse) GetKpis() []*Kpi
- func (x *GetKpisResponse) GetPage() int32
- func (x *GetKpisResponse) GetPageSize() int32
- func (x *GetKpisResponse) GetTotalCount() int32
- func (*GetKpisResponse) ProtoMessage()
- func (x *GetKpisResponse) ProtoReflect() protoreflect.Message
- func (x *GetKpisResponse) Reset()
- func (x *GetKpisResponse) String() string
- type GetOkrRequest
- type GetOkrResponse
- type GetOkrsRequest
- func (*GetOkrsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOkrsRequest) GetPage() int32
- func (x *GetOkrsRequest) GetPageSize() int32
- func (x *GetOkrsRequest) GetSearch() string
- func (*GetOkrsRequest) ProtoMessage()
- func (x *GetOkrsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOkrsRequest) Reset()
- func (x *GetOkrsRequest) String() string
- type GetOkrsResponse
- func (*GetOkrsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOkrsResponse) GetOkrs() []*Okr
- func (x *GetOkrsResponse) GetPage() int32
- func (x *GetOkrsResponse) GetPageSize() int32
- func (x *GetOkrsResponse) GetTotalCount() int32
- func (*GetOkrsResponse) ProtoMessage()
- func (x *GetOkrsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOkrsResponse) Reset()
- func (x *GetOkrsResponse) String() string
- type Kpi
- func (*Kpi) Descriptor() ([]byte, []int)deprecated
- func (x *Kpi) GetDay() string
- func (x *Kpi) GetId() string
- func (x *Kpi) GetName() string
- func (x *Kpi) GetTarget() float32
- func (x *Kpi) GetValue() float32
- func (*Kpi) ProtoMessage()
- func (x *Kpi) ProtoReflect() protoreflect.Message
- func (x *Kpi) Reset()
- func (x *Kpi) String() string
- type KpiServiceClient
- type KpiServiceServer
- type Kr
- func (*Kr) Descriptor() ([]byte, []int)deprecated
- func (x *Kr) GetDescription() string
- func (x *Kr) GetId() string
- func (x *Kr) GetInitiatives() string
- func (x *Kr) GetKpis() string
- func (x *Kr) GetName() string
- func (x *Kr) GetNumber() int32
- func (x *Kr) GetOkrId() string
- func (x *Kr) GetScope() string
- func (x *Kr) GetSponsor() string
- func (*Kr) ProtoMessage()
- func (x *Kr) ProtoReflect() protoreflect.Message
- func (x *Kr) Reset()
- func (x *Kr) String() string
- type Okr
- func (*Okr) Descriptor() ([]byte, []int)deprecated
- func (x *Okr) GetDescription() string
- func (x *Okr) GetEmbeddedChild() []*Kr
- func (x *Okr) GetId() string
- func (x *Okr) GetName() string
- func (x *Okr) GetNumber() int32
- func (x *Okr) GetYear() int32
- func (*Okr) ProtoMessage()
- func (x *Okr) ProtoReflect() protoreflect.Message
- func (x *Okr) Reset()
- func (x *Okr) String() string
- type OkrServiceClient
- type OkrServiceServer
- type PutEventRequest
- func (*PutEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutEventRequest) GetDepartment() string
- func (x *PutEventRequest) GetDescription() string
- func (x *PutEventRequest) GetEventId() string
- func (x *PutEventRequest) GetEventPrivacy() EventPrivacy
- func (x *PutEventRequest) GetName() string
- func (x *PutEventRequest) GetRegions() []string
- func (x *PutEventRequest) GetStartAt() *_type.DateTime
- func (x *PutEventRequest) GetTags() []string
- func (x *PutEventRequest) GetType() string
- func (*PutEventRequest) ProtoMessage()
- func (x *PutEventRequest) ProtoReflect() protoreflect.Message
- func (x *PutEventRequest) Reset()
- func (x *PutEventRequest) String() string
- type PutEventResponse
- type PutKpiRequest
- func (*PutKpiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutKpiRequest) GetDay() string
- func (x *PutKpiRequest) GetName() string
- func (x *PutKpiRequest) GetTarget() float32
- func (x *PutKpiRequest) GetValue() float32
- func (*PutKpiRequest) ProtoMessage()
- func (x *PutKpiRequest) ProtoReflect() protoreflect.Message
- func (x *PutKpiRequest) Reset()
- func (x *PutKpiRequest) String() string
- type PutKpiResponse
- type PutKrRequest
- func (*PutKrRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutKrRequest) GetDescription() string
- func (x *PutKrRequest) GetInitiatives() string
- func (x *PutKrRequest) GetKpis() string
- func (x *PutKrRequest) GetName() string
- func (x *PutKrRequest) GetNumber() int32
- func (x *PutKrRequest) GetOkrId() string
- func (x *PutKrRequest) GetScope() string
- func (x *PutKrRequest) GetSponsor() string
- func (*PutKrRequest) ProtoMessage()
- func (x *PutKrRequest) ProtoReflect() protoreflect.Message
- func (x *PutKrRequest) Reset()
- func (x *PutKrRequest) String() string
- type PutKrResponse
- type PutOkrRequest
- func (*PutOkrRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutOkrRequest) GetDescription() string
- func (x *PutOkrRequest) GetKrs() []*Kr
- func (x *PutOkrRequest) GetName() string
- func (x *PutOkrRequest) GetNumber() int32
- func (x *PutOkrRequest) GetYear() int32
- func (*PutOkrRequest) ProtoMessage()
- func (x *PutOkrRequest) ProtoReflect() protoreflect.Message
- func (x *PutOkrRequest) Reset()
- func (x *PutOkrRequest) String() string
- type PutOkrResponse
- type UnimplementedEventServiceServer
- func (UnimplementedEventServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error)
- func (UnimplementedEventServiceServer) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error)
- func (UnimplementedEventServiceServer) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
- func (UnimplementedEventServiceServer) PutEvent(context.Context, *PutEventRequest) (*PutEventResponse, error)
- type UnimplementedKpiServiceServer
- func (UnimplementedKpiServiceServer) DeleteKpi(context.Context, *DeleteKpiRequest) (*DeleteKpiResponse, error)
- func (UnimplementedKpiServiceServer) GetKpi(context.Context, *GetKpiRequest) (*GetKpiResponse, error)
- func (UnimplementedKpiServiceServer) GetKpis(context.Context, *GetKpisRequest) (*GetKpisResponse, error)
- func (UnimplementedKpiServiceServer) PutKpi(context.Context, *PutKpiRequest) (*PutKpiResponse, error)
- type UnimplementedOkrServiceServer
- func (UnimplementedOkrServiceServer) DeleteOkr(context.Context, *DeleteOkrRequest) (*DeleteOkrResponse, error)
- func (UnimplementedOkrServiceServer) GetOkr(context.Context, *GetOkrRequest) (*GetOkrResponse, error)
- func (UnimplementedOkrServiceServer) GetOkrs(context.Context, *GetOkrsRequest) (*GetOkrsResponse, error)
- func (UnimplementedOkrServiceServer) PutKr(context.Context, *PutKrRequest) (*PutKrResponse, error)
- func (UnimplementedOkrServiceServer) PutOkr(context.Context, *PutOkrRequest) (*PutOkrResponse, error)
- type UnsafeEventServiceServer
- type UnsafeKpiServiceServer
- type UnsafeOkrServiceServer
Constants ¶
const ( EventService_GetEvents_FullMethodName = "/events.EventService/GetEvents" EventService_GetEvent_FullMethodName = "/events.EventService/GetEvent" EventService_PutEvent_FullMethodName = "/events.EventService/PutEvent" EventService_DeleteEvent_FullMethodName = "/events.EventService/DeleteEvent" )
const ( KpiService_GetKpis_FullMethodName = "/kpis.KpiService/GetKpis" KpiService_GetKpi_FullMethodName = "/kpis.KpiService/GetKpi" KpiService_PutKpi_FullMethodName = "/kpis.KpiService/PutKpi" KpiService_DeleteKpi_FullMethodName = "/kpis.KpiService/DeleteKpi" )
const ( OkrService_GetOkrs_FullMethodName = "/okrs.OkrService/GetOkrs" OkrService_GetOkr_FullMethodName = "/okrs.OkrService/GetOkr" OkrService_PutOkr_FullMethodName = "/okrs.OkrService/PutOkr" OkrService_PutKr_FullMethodName = "/okrs.OkrService/PutKr" OkrService_DeleteOkr_FullMethodName = "/okrs.OkrService/DeleteOkr" )
Variables ¶
var ( EventPrivacy_name = map[int32]string{ 0: "PET_PRIVACY_INTERNAL", 1: "PET_PRIVACY_EXTERNAL", } EventPrivacy_value = map[string]int32{ "PET_PRIVACY_INTERNAL": 0, "PET_PRIVACY_EXTERNAL": 1, } )
Enum value maps for EventPrivacy.
var EventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "events.EventService", HandlerType: (*EventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEvents", Handler: _EventService_GetEvents_Handler, }, { MethodName: "GetEvent", Handler: _EventService_GetEvent_Handler, }, { MethodName: "PutEvent", Handler: _EventService_PutEvent_Handler, }, { MethodName: "DeleteEvent", Handler: _EventService_DeleteEvent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "events.proto", }
EventService_ServiceDesc is the grpc.ServiceDesc for EventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_events_proto protoreflect.FileDescriptor
var File_kpis_proto protoreflect.FileDescriptor
var File_okrs_proto protoreflect.FileDescriptor
var KpiService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kpis.KpiService", HandlerType: (*KpiServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetKpis", Handler: _KpiService_GetKpis_Handler, }, { MethodName: "GetKpi", Handler: _KpiService_GetKpi_Handler, }, { MethodName: "PutKpi", Handler: _KpiService_PutKpi_Handler, }, { MethodName: "DeleteKpi", Handler: _KpiService_DeleteKpi_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kpis.proto", }
KpiService_ServiceDesc is the grpc.ServiceDesc for KpiService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OkrService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "okrs.OkrService", HandlerType: (*OkrServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOkrs", Handler: _OkrService_GetOkrs_Handler, }, { MethodName: "GetOkr", Handler: _OkrService_GetOkr_Handler, }, { MethodName: "PutOkr", Handler: _OkrService_PutOkr_Handler, }, { MethodName: "PutKr", Handler: _OkrService_PutKr_Handler, }, { MethodName: "DeleteOkr", Handler: _OkrService_DeleteOkr_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "okrs.proto", }
OkrService_ServiceDesc is the grpc.ServiceDesc for OkrService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterEventServiceServer ¶
func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
func RegisterKpiServiceServer ¶
func RegisterKpiServiceServer(s grpc.ServiceRegistrar, srv KpiServiceServer)
func RegisterOkrServiceServer ¶
func RegisterOkrServiceServer(s grpc.ServiceRegistrar, srv OkrServiceServer)
Types ¶
type DeleteEventRequest ¶
type DeleteEventRequest struct { EventID string `protobuf:"bytes,1,opt,name=eventID,proto3" json:"eventID,omitempty"` // contains filtered or unexported fields }
func (*DeleteEventRequest) Descriptor
deprecated
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventRequest) GetEventID ¶
func (x *DeleteEventRequest) GetEventID() string
func (*DeleteEventRequest) ProtoMessage ¶
func (*DeleteEventRequest) ProtoMessage()
func (*DeleteEventRequest) ProtoReflect ¶
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
func (*DeleteEventRequest) Reset ¶
func (x *DeleteEventRequest) Reset()
func (*DeleteEventRequest) String ¶
func (x *DeleteEventRequest) String() string
type DeleteEventResponse ¶
type DeleteEventResponse struct {
// contains filtered or unexported fields
}
func (*DeleteEventResponse) Descriptor
deprecated
func (*DeleteEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventResponse.ProtoReflect.Descriptor instead.
func (*DeleteEventResponse) ProtoMessage ¶
func (*DeleteEventResponse) ProtoMessage()
func (*DeleteEventResponse) ProtoReflect ¶
func (x *DeleteEventResponse) ProtoReflect() protoreflect.Message
func (*DeleteEventResponse) Reset ¶
func (x *DeleteEventResponse) Reset()
func (*DeleteEventResponse) String ¶
func (x *DeleteEventResponse) String() string
type DeleteKpiRequest ¶
type DeleteKpiRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteKpiRequest) Descriptor
deprecated
func (*DeleteKpiRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKpiRequest.ProtoReflect.Descriptor instead.
func (*DeleteKpiRequest) GetId ¶
func (x *DeleteKpiRequest) GetId() string
func (*DeleteKpiRequest) ProtoMessage ¶
func (*DeleteKpiRequest) ProtoMessage()
func (*DeleteKpiRequest) ProtoReflect ¶
func (x *DeleteKpiRequest) ProtoReflect() protoreflect.Message
func (*DeleteKpiRequest) Reset ¶
func (x *DeleteKpiRequest) Reset()
func (*DeleteKpiRequest) String ¶
func (x *DeleteKpiRequest) String() string
type DeleteKpiResponse ¶
type DeleteKpiResponse struct {
// contains filtered or unexported fields
}
func (*DeleteKpiResponse) Descriptor
deprecated
func (*DeleteKpiResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKpiResponse.ProtoReflect.Descriptor instead.
func (*DeleteKpiResponse) ProtoMessage ¶
func (*DeleteKpiResponse) ProtoMessage()
func (*DeleteKpiResponse) ProtoReflect ¶
func (x *DeleteKpiResponse) ProtoReflect() protoreflect.Message
func (*DeleteKpiResponse) Reset ¶
func (x *DeleteKpiResponse) Reset()
func (*DeleteKpiResponse) String ¶
func (x *DeleteKpiResponse) String() string
type DeleteOkrRequest ¶
type DeleteOkrRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteOkrRequest) Descriptor
deprecated
func (*DeleteOkrRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOkrRequest.ProtoReflect.Descriptor instead.
func (*DeleteOkrRequest) GetId ¶
func (x *DeleteOkrRequest) GetId() string
func (*DeleteOkrRequest) ProtoMessage ¶
func (*DeleteOkrRequest) ProtoMessage()
func (*DeleteOkrRequest) ProtoReflect ¶
func (x *DeleteOkrRequest) ProtoReflect() protoreflect.Message
func (*DeleteOkrRequest) Reset ¶
func (x *DeleteOkrRequest) Reset()
func (*DeleteOkrRequest) String ¶
func (x *DeleteOkrRequest) String() string
type DeleteOkrResponse ¶
type DeleteOkrResponse struct {
// contains filtered or unexported fields
}
func (*DeleteOkrResponse) Descriptor
deprecated
func (*DeleteOkrResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOkrResponse.ProtoReflect.Descriptor instead.
func (*DeleteOkrResponse) ProtoMessage ¶
func (*DeleteOkrResponse) ProtoMessage()
func (*DeleteOkrResponse) ProtoReflect ¶
func (x *DeleteOkrResponse) ProtoReflect() protoreflect.Message
func (*DeleteOkrResponse) Reset ¶
func (x *DeleteOkrResponse) Reset()
func (*DeleteOkrResponse) String ¶
func (x *DeleteOkrResponse) String() string
type Event ¶
type Event struct { EventPrivacy EventPrivacy `protobuf:"varint,1,opt,name=event_privacy,json=eventPrivacy,proto3,enum=events.EventPrivacy" json:"event_privacy,omitempty"` EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Department string `protobuf:"bytes,6,opt,name=department,proto3" json:"department,omitempty"` Regions []string `protobuf:"bytes,7,rep,name=regions,proto3" json:"regions,omitempty"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` StartAt *_type.DateTime `protobuf:"bytes,9,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` // contains filtered or unexported fields }
Event represents an event that occured in the company
func (*Event) Descriptor
deprecated
func (*Event) GetDepartment ¶
func (*Event) GetDescription ¶
func (*Event) GetEventId ¶
func (*Event) GetEventPrivacy ¶
func (x *Event) GetEventPrivacy() EventPrivacy
func (*Event) GetRegions ¶
func (*Event) GetStartAt ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventPrivacy ¶
type EventPrivacy int32
EventPrivacy represents the different privacty levels of an event
const ( EventPrivacy_PET_PRIVACY_INTERNAL EventPrivacy = 0 EventPrivacy_PET_PRIVACY_EXTERNAL EventPrivacy = 1 )
func (EventPrivacy) Descriptor ¶
func (EventPrivacy) Descriptor() protoreflect.EnumDescriptor
func (EventPrivacy) Enum ¶
func (x EventPrivacy) Enum() *EventPrivacy
func (EventPrivacy) EnumDescriptor
deprecated
func (EventPrivacy) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventPrivacy.Descriptor instead.
func (EventPrivacy) Number ¶
func (x EventPrivacy) Number() protoreflect.EnumNumber
func (EventPrivacy) String ¶
func (x EventPrivacy) String() string
func (EventPrivacy) Type ¶
func (EventPrivacy) Type() protoreflect.EnumType
type EventServiceClient ¶
type EventServiceClient interface { GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*GetEventsResponse, error) GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*GetEventResponse, error) PutEvent(ctx context.Context, in *PutEventRequest, opts ...grpc.CallOption) (*PutEventResponse, error) DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*DeleteEventResponse, error) }
EventServiceClient is the client API for EventService 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 NewEventServiceClient ¶
func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient
type EventServiceServer ¶
type EventServiceServer interface { GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error) PutEvent(context.Context, *PutEventRequest) (*PutEventResponse, error) DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error) // contains filtered or unexported methods }
EventServiceServer is the server API for EventService service. All implementations must embed UnimplementedEventServiceServer for forward compatibility.
type GetEventRequest ¶
type GetEventRequest struct { EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // contains filtered or unexported fields }
func (*GetEventRequest) Descriptor
deprecated
func (*GetEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.
func (*GetEventRequest) GetEventId ¶
func (x *GetEventRequest) GetEventId() string
func (*GetEventRequest) ProtoMessage ¶
func (*GetEventRequest) ProtoMessage()
func (*GetEventRequest) ProtoReflect ¶
func (x *GetEventRequest) ProtoReflect() protoreflect.Message
func (*GetEventRequest) Reset ¶
func (x *GetEventRequest) Reset()
func (*GetEventRequest) String ¶
func (x *GetEventRequest) String() string
type GetEventResponse ¶
type GetEventResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*GetEventResponse) Descriptor
deprecated
func (*GetEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventResponse.ProtoReflect.Descriptor instead.
func (*GetEventResponse) GetEvent ¶
func (x *GetEventResponse) GetEvent() *Event
func (*GetEventResponse) ProtoMessage ¶
func (*GetEventResponse) ProtoMessage()
func (*GetEventResponse) ProtoReflect ¶
func (x *GetEventResponse) ProtoReflect() protoreflect.Message
func (*GetEventResponse) Reset ¶
func (x *GetEventResponse) Reset()
func (*GetEventResponse) String ¶
func (x *GetEventResponse) String() string
type GetEventsRequest ¶
type GetEventsRequest struct { // Pagination parameters (optional) Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // The page number PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of events per page // Filtering parameters (optional) Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"` // Search query for filtering events // contains filtered or unexported fields }
func (*GetEventsRequest) Descriptor
deprecated
func (*GetEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.
func (*GetEventsRequest) GetPage ¶
func (x *GetEventsRequest) GetPage() int32
func (*GetEventsRequest) GetPageSize ¶
func (x *GetEventsRequest) GetPageSize() int32
func (*GetEventsRequest) GetSearch ¶
func (x *GetEventsRequest) GetSearch() string
func (*GetEventsRequest) ProtoMessage ¶
func (*GetEventsRequest) ProtoMessage()
func (*GetEventsRequest) ProtoReflect ¶
func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
func (*GetEventsRequest) Reset ¶
func (x *GetEventsRequest) Reset()
func (*GetEventsRequest) String ¶
func (x *GetEventsRequest) String() string
type GetEventsResponse ¶
type GetEventsResponse struct { Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // Pagination metadata TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Total number of events Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // Current page PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of events per page // contains filtered or unexported fields }
Response message for GetEvents
func (*GetEventsResponse) Descriptor
deprecated
func (*GetEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.
func (*GetEventsResponse) GetEvents ¶
func (x *GetEventsResponse) GetEvents() []*Event
func (*GetEventsResponse) GetPage ¶
func (x *GetEventsResponse) GetPage() int32
func (*GetEventsResponse) GetPageSize ¶
func (x *GetEventsResponse) GetPageSize() int32
func (*GetEventsResponse) GetTotalCount ¶
func (x *GetEventsResponse) GetTotalCount() int32
func (*GetEventsResponse) ProtoMessage ¶
func (*GetEventsResponse) ProtoMessage()
func (*GetEventsResponse) ProtoReflect ¶
func (x *GetEventsResponse) ProtoReflect() protoreflect.Message
func (*GetEventsResponse) Reset ¶
func (x *GetEventsResponse) Reset()
func (*GetEventsResponse) String ¶
func (x *GetEventsResponse) String() string
type GetKpiRequest ¶
type GetKpiRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetKpiRequest) Descriptor
deprecated
func (*GetKpiRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKpiRequest.ProtoReflect.Descriptor instead.
func (*GetKpiRequest) GetId ¶
func (x *GetKpiRequest) GetId() string
func (*GetKpiRequest) ProtoMessage ¶
func (*GetKpiRequest) ProtoMessage()
func (*GetKpiRequest) ProtoReflect ¶
func (x *GetKpiRequest) ProtoReflect() protoreflect.Message
func (*GetKpiRequest) Reset ¶
func (x *GetKpiRequest) Reset()
func (*GetKpiRequest) String ¶
func (x *GetKpiRequest) String() string
type GetKpiResponse ¶
type GetKpiResponse struct { Kpi *Kpi `protobuf:"bytes,1,opt,name=kpi,proto3" json:"kpi,omitempty"` // contains filtered or unexported fields }
func (*GetKpiResponse) Descriptor
deprecated
func (*GetKpiResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKpiResponse.ProtoReflect.Descriptor instead.
func (*GetKpiResponse) GetKpi ¶
func (x *GetKpiResponse) GetKpi() *Kpi
func (*GetKpiResponse) ProtoMessage ¶
func (*GetKpiResponse) ProtoMessage()
func (*GetKpiResponse) ProtoReflect ¶
func (x *GetKpiResponse) ProtoReflect() protoreflect.Message
func (*GetKpiResponse) Reset ¶
func (x *GetKpiResponse) Reset()
func (*GetKpiResponse) String ¶
func (x *GetKpiResponse) String() string
type GetKpisRequest ¶
type GetKpisRequest struct { // Pagination parameters (optional) Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // The page number PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of kpis per page // Filtering parameters (optional) Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"` // Search query for filtering kpis // contains filtered or unexported fields }
func (*GetKpisRequest) Descriptor
deprecated
func (*GetKpisRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKpisRequest.ProtoReflect.Descriptor instead.
func (*GetKpisRequest) GetPage ¶
func (x *GetKpisRequest) GetPage() int32
func (*GetKpisRequest) GetPageSize ¶
func (x *GetKpisRequest) GetPageSize() int32
func (*GetKpisRequest) GetSearch ¶
func (x *GetKpisRequest) GetSearch() string
func (*GetKpisRequest) ProtoMessage ¶
func (*GetKpisRequest) ProtoMessage()
func (*GetKpisRequest) ProtoReflect ¶
func (x *GetKpisRequest) ProtoReflect() protoreflect.Message
func (*GetKpisRequest) Reset ¶
func (x *GetKpisRequest) Reset()
func (*GetKpisRequest) String ¶
func (x *GetKpisRequest) String() string
type GetKpisResponse ¶
type GetKpisResponse struct { Kpis []*Kpi `protobuf:"bytes,1,rep,name=kpis,proto3" json:"kpis,omitempty"` // Pagination metadata TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Total number of kpis Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // Current page PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of kpis per page // contains filtered or unexported fields }
Response message for GetKpis
func (*GetKpisResponse) Descriptor
deprecated
func (*GetKpisResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKpisResponse.ProtoReflect.Descriptor instead.
func (*GetKpisResponse) GetKpis ¶
func (x *GetKpisResponse) GetKpis() []*Kpi
func (*GetKpisResponse) GetPage ¶
func (x *GetKpisResponse) GetPage() int32
func (*GetKpisResponse) GetPageSize ¶
func (x *GetKpisResponse) GetPageSize() int32
func (*GetKpisResponse) GetTotalCount ¶
func (x *GetKpisResponse) GetTotalCount() int32
func (*GetKpisResponse) ProtoMessage ¶
func (*GetKpisResponse) ProtoMessage()
func (*GetKpisResponse) ProtoReflect ¶
func (x *GetKpisResponse) ProtoReflect() protoreflect.Message
func (*GetKpisResponse) Reset ¶
func (x *GetKpisResponse) Reset()
func (*GetKpisResponse) String ¶
func (x *GetKpisResponse) String() string
type GetOkrRequest ¶
type GetOkrRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetOkrRequest) Descriptor
deprecated
func (*GetOkrRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOkrRequest.ProtoReflect.Descriptor instead.
func (*GetOkrRequest) GetId ¶
func (x *GetOkrRequest) GetId() string
func (*GetOkrRequest) ProtoMessage ¶
func (*GetOkrRequest) ProtoMessage()
func (*GetOkrRequest) ProtoReflect ¶
func (x *GetOkrRequest) ProtoReflect() protoreflect.Message
func (*GetOkrRequest) Reset ¶
func (x *GetOkrRequest) Reset()
func (*GetOkrRequest) String ¶
func (x *GetOkrRequest) String() string
type GetOkrResponse ¶
type GetOkrResponse struct { Okr *Okr `protobuf:"bytes,1,opt,name=okr,proto3" json:"okr,omitempty"` // contains filtered or unexported fields }
func (*GetOkrResponse) Descriptor
deprecated
func (*GetOkrResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOkrResponse.ProtoReflect.Descriptor instead.
func (*GetOkrResponse) GetOkr ¶
func (x *GetOkrResponse) GetOkr() *Okr
func (*GetOkrResponse) ProtoMessage ¶
func (*GetOkrResponse) ProtoMessage()
func (*GetOkrResponse) ProtoReflect ¶
func (x *GetOkrResponse) ProtoReflect() protoreflect.Message
func (*GetOkrResponse) Reset ¶
func (x *GetOkrResponse) Reset()
func (*GetOkrResponse) String ¶
func (x *GetOkrResponse) String() string
type GetOkrsRequest ¶
type GetOkrsRequest struct { // Pagination parameters (optional) Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // The page number PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of okrs per page // Filtering parameters (optional) Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"` // Search query for filtering okrs // contains filtered or unexported fields }
func (*GetOkrsRequest) Descriptor
deprecated
func (*GetOkrsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOkrsRequest.ProtoReflect.Descriptor instead.
func (*GetOkrsRequest) GetPage ¶
func (x *GetOkrsRequest) GetPage() int32
func (*GetOkrsRequest) GetPageSize ¶
func (x *GetOkrsRequest) GetPageSize() int32
func (*GetOkrsRequest) GetSearch ¶
func (x *GetOkrsRequest) GetSearch() string
func (*GetOkrsRequest) ProtoMessage ¶
func (*GetOkrsRequest) ProtoMessage()
func (*GetOkrsRequest) ProtoReflect ¶
func (x *GetOkrsRequest) ProtoReflect() protoreflect.Message
func (*GetOkrsRequest) Reset ¶
func (x *GetOkrsRequest) Reset()
func (*GetOkrsRequest) String ¶
func (x *GetOkrsRequest) String() string
type GetOkrsResponse ¶
type GetOkrsResponse struct { Okrs []*Okr `protobuf:"bytes,1,rep,name=okrs,proto3" json:"okrs,omitempty"` // Pagination metadata TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Total number of okrs Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // Current page PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of okrs per page // contains filtered or unexported fields }
Response message for GetOkrs
func (*GetOkrsResponse) Descriptor
deprecated
func (*GetOkrsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOkrsResponse.ProtoReflect.Descriptor instead.
func (*GetOkrsResponse) GetOkrs ¶
func (x *GetOkrsResponse) GetOkrs() []*Okr
func (*GetOkrsResponse) GetPage ¶
func (x *GetOkrsResponse) GetPage() int32
func (*GetOkrsResponse) GetPageSize ¶
func (x *GetOkrsResponse) GetPageSize() int32
func (*GetOkrsResponse) GetTotalCount ¶
func (x *GetOkrsResponse) GetTotalCount() int32
func (*GetOkrsResponse) ProtoMessage ¶
func (*GetOkrsResponse) ProtoMessage()
func (*GetOkrsResponse) ProtoReflect ¶
func (x *GetOkrsResponse) ProtoReflect() protoreflect.Message
func (*GetOkrsResponse) Reset ¶
func (x *GetOkrsResponse) Reset()
func (*GetOkrsResponse) String ¶
func (x *GetOkrsResponse) String() string
type Kpi ¶
type Kpi struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"` Target float32 `protobuf:"fixed32,4,opt,name=target,proto3" json:"target,omitempty"` Day string `protobuf:"bytes,5,opt,name=day,proto3" json:"day,omitempty"` // ISO 8601 format (e.g., YYYY-MM-DD) // contains filtered or unexported fields }
Kpi represents a KPI
func (*Kpi) Descriptor
deprecated
func (*Kpi) ProtoMessage ¶
func (*Kpi) ProtoMessage()
func (*Kpi) ProtoReflect ¶
func (x *Kpi) ProtoReflect() protoreflect.Message
type KpiServiceClient ¶
type KpiServiceClient interface { GetKpis(ctx context.Context, in *GetKpisRequest, opts ...grpc.CallOption) (*GetKpisResponse, error) GetKpi(ctx context.Context, in *GetKpiRequest, opts ...grpc.CallOption) (*GetKpiResponse, error) PutKpi(ctx context.Context, in *PutKpiRequest, opts ...grpc.CallOption) (*PutKpiResponse, error) DeleteKpi(ctx context.Context, in *DeleteKpiRequest, opts ...grpc.CallOption) (*DeleteKpiResponse, error) }
KpiServiceClient is the client API for KpiService 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 NewKpiServiceClient ¶
func NewKpiServiceClient(cc grpc.ClientConnInterface) KpiServiceClient
type KpiServiceServer ¶
type KpiServiceServer interface { GetKpis(context.Context, *GetKpisRequest) (*GetKpisResponse, error) GetKpi(context.Context, *GetKpiRequest) (*GetKpiResponse, error) PutKpi(context.Context, *PutKpiRequest) (*PutKpiResponse, error) DeleteKpi(context.Context, *DeleteKpiRequest) (*DeleteKpiResponse, error) // contains filtered or unexported methods }
KpiServiceServer is the server API for KpiService service. All implementations must embed UnimplementedKpiServiceServer for forward compatibility.
type Kr ¶
type Kr struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Sponsor string `protobuf:"bytes,5,opt,name=sponsor,proto3" json:"sponsor,omitempty"` Kpis string `protobuf:"bytes,6,opt,name=kpis,proto3" json:"kpis,omitempty"` Scope string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"` Initiatives string `protobuf:"bytes,8,opt,name=initiatives,proto3" json:"initiatives,omitempty"` OkrId string `protobuf:"bytes,9,opt,name=okr_id,json=okrId,proto3" json:"okr_id,omitempty"` // contains filtered or unexported fields }
Kr represents a kr that occured in the company
func (*Kr) Descriptor
deprecated
func (*Kr) GetDescription ¶
func (*Kr) GetInitiatives ¶
func (*Kr) GetSponsor ¶
func (*Kr) ProtoMessage ¶
func (*Kr) ProtoMessage()
func (*Kr) ProtoReflect ¶
func (x *Kr) ProtoReflect() protoreflect.Message
type Okr ¶
type Okr struct { Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Number int32 `protobuf:"varint,4,opt,name=number,proto3" json:"number,omitempty"` Year int32 `protobuf:"varint,5,opt,name=year,proto3" json:"year,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` EmbeddedChild []*Kr `protobuf:"bytes,7,rep,name=embedded_child,json=embeddedChild,proto3" json:"embedded_child,omitempty"` // contains filtered or unexported fields }
Okr represents an okr that occured in the company
func (*Okr) Descriptor
deprecated
func (*Okr) GetDescription ¶
func (*Okr) GetEmbeddedChild ¶
func (*Okr) ProtoMessage ¶
func (*Okr) ProtoMessage()
func (*Okr) ProtoReflect ¶
func (x *Okr) ProtoReflect() protoreflect.Message
type OkrServiceClient ¶
type OkrServiceClient interface { GetOkrs(ctx context.Context, in *GetOkrsRequest, opts ...grpc.CallOption) (*GetOkrsResponse, error) GetOkr(ctx context.Context, in *GetOkrRequest, opts ...grpc.CallOption) (*GetOkrResponse, error) PutOkr(ctx context.Context, in *PutOkrRequest, opts ...grpc.CallOption) (*PutOkrResponse, error) PutKr(ctx context.Context, in *PutKrRequest, opts ...grpc.CallOption) (*PutKrResponse, error) DeleteOkr(ctx context.Context, in *DeleteOkrRequest, opts ...grpc.CallOption) (*DeleteOkrResponse, error) }
OkrServiceClient is the client API for OkrService 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 NewOkrServiceClient ¶
func NewOkrServiceClient(cc grpc.ClientConnInterface) OkrServiceClient
type OkrServiceServer ¶
type OkrServiceServer interface { GetOkrs(context.Context, *GetOkrsRequest) (*GetOkrsResponse, error) GetOkr(context.Context, *GetOkrRequest) (*GetOkrResponse, error) PutOkr(context.Context, *PutOkrRequest) (*PutOkrResponse, error) PutKr(context.Context, *PutKrRequest) (*PutKrResponse, error) DeleteOkr(context.Context, *DeleteOkrRequest) (*DeleteOkrResponse, error) // contains filtered or unexported methods }
OkrServiceServer is the server API for OkrService service. All implementations must embed UnimplementedOkrServiceServer for forward compatibility.
type PutEventRequest ¶
type PutEventRequest struct { EventPrivacy EventPrivacy `protobuf:"varint,1,opt,name=event_privacy,json=eventPrivacy,proto3,enum=events.EventPrivacy" json:"event_privacy,omitempty"` EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Department string `protobuf:"bytes,6,opt,name=department,proto3" json:"department,omitempty"` Regions []string `protobuf:"bytes,7,rep,name=regions,proto3" json:"regions,omitempty"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` StartAt *_type.DateTime `protobuf:"bytes,9,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` // contains filtered or unexported fields }
func (*PutEventRequest) Descriptor
deprecated
func (*PutEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutEventRequest.ProtoReflect.Descriptor instead.
func (*PutEventRequest) GetDepartment ¶
func (x *PutEventRequest) GetDepartment() string
func (*PutEventRequest) GetDescription ¶
func (x *PutEventRequest) GetDescription() string
func (*PutEventRequest) GetEventId ¶
func (x *PutEventRequest) GetEventId() string
func (*PutEventRequest) GetEventPrivacy ¶
func (x *PutEventRequest) GetEventPrivacy() EventPrivacy
func (*PutEventRequest) GetName ¶
func (x *PutEventRequest) GetName() string
func (*PutEventRequest) GetRegions ¶
func (x *PutEventRequest) GetRegions() []string
func (*PutEventRequest) GetStartAt ¶
func (x *PutEventRequest) GetStartAt() *_type.DateTime
func (*PutEventRequest) GetTags ¶
func (x *PutEventRequest) GetTags() []string
func (*PutEventRequest) GetType ¶
func (x *PutEventRequest) GetType() string
func (*PutEventRequest) ProtoMessage ¶
func (*PutEventRequest) ProtoMessage()
func (*PutEventRequest) ProtoReflect ¶
func (x *PutEventRequest) ProtoReflect() protoreflect.Message
func (*PutEventRequest) Reset ¶
func (x *PutEventRequest) Reset()
func (*PutEventRequest) String ¶
func (x *PutEventRequest) String() string
type PutEventResponse ¶
type PutEventResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*PutEventResponse) Descriptor
deprecated
func (*PutEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutEventResponse.ProtoReflect.Descriptor instead.
func (*PutEventResponse) GetEvent ¶
func (x *PutEventResponse) GetEvent() *Event
func (*PutEventResponse) ProtoMessage ¶
func (*PutEventResponse) ProtoMessage()
func (*PutEventResponse) ProtoReflect ¶
func (x *PutEventResponse) ProtoReflect() protoreflect.Message
func (*PutEventResponse) Reset ¶
func (x *PutEventResponse) Reset()
func (*PutEventResponse) String ¶
func (x *PutEventResponse) String() string
type PutKpiRequest ¶
type PutKpiRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` Target float32 `protobuf:"fixed32,3,opt,name=target,proto3" json:"target,omitempty"` Day string `protobuf:"bytes,4,opt,name=day,proto3" json:"day,omitempty"` // ISO 8601 format (e.g., YYYY-MM-DD) // contains filtered or unexported fields }
func (*PutKpiRequest) Descriptor
deprecated
func (*PutKpiRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutKpiRequest.ProtoReflect.Descriptor instead.
func (*PutKpiRequest) GetDay ¶
func (x *PutKpiRequest) GetDay() string
func (*PutKpiRequest) GetName ¶
func (x *PutKpiRequest) GetName() string
func (*PutKpiRequest) GetTarget ¶
func (x *PutKpiRequest) GetTarget() float32
func (*PutKpiRequest) GetValue ¶
func (x *PutKpiRequest) GetValue() float32
func (*PutKpiRequest) ProtoMessage ¶
func (*PutKpiRequest) ProtoMessage()
func (*PutKpiRequest) ProtoReflect ¶
func (x *PutKpiRequest) ProtoReflect() protoreflect.Message
func (*PutKpiRequest) Reset ¶
func (x *PutKpiRequest) Reset()
func (*PutKpiRequest) String ¶
func (x *PutKpiRequest) String() string
type PutKpiResponse ¶
type PutKpiResponse struct { Kpi *Kpi `protobuf:"bytes,1,opt,name=kpi,proto3" json:"kpi,omitempty"` // contains filtered or unexported fields }
func (*PutKpiResponse) Descriptor
deprecated
func (*PutKpiResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutKpiResponse.ProtoReflect.Descriptor instead.
func (*PutKpiResponse) GetKpi ¶
func (x *PutKpiResponse) GetKpi() *Kpi
func (*PutKpiResponse) ProtoMessage ¶
func (*PutKpiResponse) ProtoMessage()
func (*PutKpiResponse) ProtoReflect ¶
func (x *PutKpiResponse) ProtoReflect() protoreflect.Message
func (*PutKpiResponse) Reset ¶
func (x *PutKpiResponse) Reset()
func (*PutKpiResponse) String ¶
func (x *PutKpiResponse) String() string
type PutKrRequest ¶
type PutKrRequest struct { OkrId string `protobuf:"bytes,1,opt,name=okr_id,json=okrId,proto3" json:"okr_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Sponsor string `protobuf:"bytes,5,opt,name=sponsor,proto3" json:"sponsor,omitempty"` Kpis string `protobuf:"bytes,6,opt,name=kpis,proto3" json:"kpis,omitempty"` Scope string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"` Initiatives string `protobuf:"bytes,8,opt,name=initiatives,proto3" json:"initiatives,omitempty"` // contains filtered or unexported fields }
func (*PutKrRequest) Descriptor
deprecated
func (*PutKrRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutKrRequest.ProtoReflect.Descriptor instead.
func (*PutKrRequest) GetDescription ¶
func (x *PutKrRequest) GetDescription() string
func (*PutKrRequest) GetInitiatives ¶
func (x *PutKrRequest) GetInitiatives() string
func (*PutKrRequest) GetKpis ¶
func (x *PutKrRequest) GetKpis() string
func (*PutKrRequest) GetName ¶
func (x *PutKrRequest) GetName() string
func (*PutKrRequest) GetNumber ¶
func (x *PutKrRequest) GetNumber() int32
func (*PutKrRequest) GetOkrId ¶
func (x *PutKrRequest) GetOkrId() string
func (*PutKrRequest) GetScope ¶
func (x *PutKrRequest) GetScope() string
func (*PutKrRequest) GetSponsor ¶
func (x *PutKrRequest) GetSponsor() string
func (*PutKrRequest) ProtoMessage ¶
func (*PutKrRequest) ProtoMessage()
func (*PutKrRequest) ProtoReflect ¶
func (x *PutKrRequest) ProtoReflect() protoreflect.Message
func (*PutKrRequest) Reset ¶
func (x *PutKrRequest) Reset()
func (*PutKrRequest) String ¶
func (x *PutKrRequest) String() string
type PutKrResponse ¶
type PutKrResponse struct { Kr *Kr `protobuf:"bytes,1,opt,name=kr,proto3" json:"kr,omitempty"` // contains filtered or unexported fields }
func (*PutKrResponse) Descriptor
deprecated
func (*PutKrResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutKrResponse.ProtoReflect.Descriptor instead.
func (*PutKrResponse) GetKr ¶
func (x *PutKrResponse) GetKr() *Kr
func (*PutKrResponse) ProtoMessage ¶
func (*PutKrResponse) ProtoMessage()
func (*PutKrResponse) ProtoReflect ¶
func (x *PutKrResponse) ProtoReflect() protoreflect.Message
func (*PutKrResponse) Reset ¶
func (x *PutKrResponse) Reset()
func (*PutKrResponse) String ¶
func (x *PutKrResponse) String() string
type PutOkrRequest ¶
type PutOkrRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Krs []*Kr `protobuf:"bytes,5,rep,name=krs,proto3" json:"krs,omitempty"` // contains filtered or unexported fields }
func (*PutOkrRequest) Descriptor
deprecated
func (*PutOkrRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutOkrRequest.ProtoReflect.Descriptor instead.
func (*PutOkrRequest) GetDescription ¶
func (x *PutOkrRequest) GetDescription() string
func (*PutOkrRequest) GetKrs ¶
func (x *PutOkrRequest) GetKrs() []*Kr
func (*PutOkrRequest) GetName ¶
func (x *PutOkrRequest) GetName() string
func (*PutOkrRequest) GetNumber ¶
func (x *PutOkrRequest) GetNumber() int32
func (*PutOkrRequest) GetYear ¶
func (x *PutOkrRequest) GetYear() int32
func (*PutOkrRequest) ProtoMessage ¶
func (*PutOkrRequest) ProtoMessage()
func (*PutOkrRequest) ProtoReflect ¶
func (x *PutOkrRequest) ProtoReflect() protoreflect.Message
func (*PutOkrRequest) Reset ¶
func (x *PutOkrRequest) Reset()
func (*PutOkrRequest) String ¶
func (x *PutOkrRequest) String() string
type PutOkrResponse ¶
type PutOkrResponse struct { Okr *Okr `protobuf:"bytes,1,opt,name=okr,proto3" json:"okr,omitempty"` // contains filtered or unexported fields }
func (*PutOkrResponse) Descriptor
deprecated
func (*PutOkrResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutOkrResponse.ProtoReflect.Descriptor instead.
func (*PutOkrResponse) GetOkr ¶
func (x *PutOkrResponse) GetOkr() *Okr
func (*PutOkrResponse) ProtoMessage ¶
func (*PutOkrResponse) ProtoMessage()
func (*PutOkrResponse) ProtoReflect ¶
func (x *PutOkrResponse) ProtoReflect() protoreflect.Message
func (*PutOkrResponse) Reset ¶
func (x *PutOkrResponse) Reset()
func (*PutOkrResponse) String ¶
func (x *PutOkrResponse) String() string
type UnimplementedEventServiceServer ¶
type UnimplementedEventServiceServer struct{}
UnimplementedEventServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEventServiceServer) DeleteEvent ¶
func (UnimplementedEventServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error)
func (UnimplementedEventServiceServer) GetEvent ¶
func (UnimplementedEventServiceServer) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error)
func (UnimplementedEventServiceServer) GetEvents ¶
func (UnimplementedEventServiceServer) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
func (UnimplementedEventServiceServer) PutEvent ¶
func (UnimplementedEventServiceServer) PutEvent(context.Context, *PutEventRequest) (*PutEventResponse, error)
type UnimplementedKpiServiceServer ¶
type UnimplementedKpiServiceServer struct{}
UnimplementedKpiServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKpiServiceServer) DeleteKpi ¶
func (UnimplementedKpiServiceServer) DeleteKpi(context.Context, *DeleteKpiRequest) (*DeleteKpiResponse, error)
func (UnimplementedKpiServiceServer) GetKpi ¶
func (UnimplementedKpiServiceServer) GetKpi(context.Context, *GetKpiRequest) (*GetKpiResponse, error)
func (UnimplementedKpiServiceServer) GetKpis ¶
func (UnimplementedKpiServiceServer) GetKpis(context.Context, *GetKpisRequest) (*GetKpisResponse, error)
func (UnimplementedKpiServiceServer) PutKpi ¶
func (UnimplementedKpiServiceServer) PutKpi(context.Context, *PutKpiRequest) (*PutKpiResponse, error)
type UnimplementedOkrServiceServer ¶
type UnimplementedOkrServiceServer struct{}
UnimplementedOkrServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOkrServiceServer) DeleteOkr ¶
func (UnimplementedOkrServiceServer) DeleteOkr(context.Context, *DeleteOkrRequest) (*DeleteOkrResponse, error)
func (UnimplementedOkrServiceServer) GetOkr ¶
func (UnimplementedOkrServiceServer) GetOkr(context.Context, *GetOkrRequest) (*GetOkrResponse, error)
func (UnimplementedOkrServiceServer) GetOkrs ¶
func (UnimplementedOkrServiceServer) GetOkrs(context.Context, *GetOkrsRequest) (*GetOkrsResponse, error)
func (UnimplementedOkrServiceServer) PutKr ¶
func (UnimplementedOkrServiceServer) PutKr(context.Context, *PutKrRequest) (*PutKrResponse, error)
func (UnimplementedOkrServiceServer) PutOkr ¶
func (UnimplementedOkrServiceServer) PutOkr(context.Context, *PutOkrRequest) (*PutOkrResponse, error)
type UnsafeEventServiceServer ¶
type UnsafeEventServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventServiceServer will result in compilation errors.
type UnsafeKpiServiceServer ¶
type UnsafeKpiServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKpiServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KpiServiceServer will result in compilation errors.
type UnsafeOkrServiceServer ¶
type UnsafeOkrServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOkrServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OkrServiceServer will result in compilation errors.