Documentation ¶
Index ¶
- Variables
- func RegisterClockServer(s grpc.ServiceRegistrar, srv ClockServer)
- func RegisterCustomerServer(s grpc.ServiceRegistrar, srv CustomerServer)
- func RegisterWorkerServer(s grpc.ServiceRegistrar, srv WorkerServer)
- type Case
- func (*Case) Descriptor() ([]byte, []int)deprecated
- func (x *Case) GetAssignee() int32
- func (x *Case) GetCaseID() int32
- func (x *Case) GetCaseStages() []*CaseStage
- func (x *Case) GetCurrentStage() int32
- func (x *Case) GetCustomerID() int32
- func (x *Case) GetCustomerSentiment() int32
- func (x *Case) GetStatus() CaseStatus
- func (*Case) ProtoMessage()
- func (x *Case) ProtoReflect() protoreflect.Message
- func (x *Case) Reset()
- func (x *Case) String() string
- type CaseStage
- func (*CaseStage) Descriptor() ([]byte, []int)deprecated
- func (x *CaseStage) GetCompletedwork() int32
- func (x *CaseStage) GetDifficulty() int32
- func (x *CaseStage) GetStageID() int32
- func (x *CaseStage) GetStatus() StageStatus
- func (x *CaseStage) GetTotalwork() int32
- func (x *CaseStage) GetType() SkillEnum
- func (*CaseStage) ProtoMessage()
- func (x *CaseStage) ProtoReflect() protoreflect.Message
- func (x *CaseStage) Reset()
- func (x *CaseStage) String() string
- type CaseStatus
- type ClockClient
- type ClockServer
- type Clock_RegisterClient
- type Clock_RegisterServer
- type CustomerClient
- type CustomerServer
- type Difficulty
- func (*Difficulty) Descriptor() ([]byte, []int)deprecated
- func (x *Difficulty) GetMaxDifficulty() int32
- func (x *Difficulty) GetMinDifficulty() int32
- func (*Difficulty) ProtoMessage()
- func (x *Difficulty) ProtoReflect() protoreflect.Message
- func (x *Difficulty) Reset()
- func (x *Difficulty) String() string
- type ListCaseReply
- func (*ListCaseReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListCaseReply) GetAssignedCases() []*Case
- func (x *ListCaseReply) GetCompletedCases() []*Case
- func (*ListCaseReply) ProtoMessage()
- func (x *ListCaseReply) ProtoReflect() protoreflect.Message
- func (x *ListCaseReply) Reset()
- func (x *ListCaseReply) String() string
- type Response
- type SkillEnum
- type StageStatus
- func (StageStatus) Descriptor() protoreflect.EnumDescriptor
- func (x StageStatus) Enum() *StageStatus
- func (StageStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x StageStatus) Number() protoreflect.EnumNumber
- func (x StageStatus) String() string
- func (StageStatus) Type() protoreflect.EnumType
- type Tick
- type UnimplementedClockServer
- type UnimplementedCustomerServer
- func (UnimplementedCustomerServer) CustomerReply(context.Context, *Case) (*Case, error)
- func (UnimplementedCustomerServer) GetCaseStatus(context.Context, *Case) (*Case, error)
- func (UnimplementedCustomerServer) RegisterCase(context.Context, *Case) (*Response, error)
- func (UnimplementedCustomerServer) SetDifficulty(context.Context, *Difficulty) (*Response, error)
- type UnimplementedWorkerServer
- func (UnimplementedWorkerServer) Assign(context.Context, *Case) (*Response, error)
- func (UnimplementedWorkerServer) GetCaseState(context.Context, *Case) (*Case, error)
- func (UnimplementedWorkerServer) Hello(context.Context, *Response) (*Response, error)
- func (UnimplementedWorkerServer) KillWorker(context.Context, *Response) (*Response, error)
- func (UnimplementedWorkerServer) SetWorkerSkills(context.Context, *WorkerSkill) (*Response, error)
- func (UnimplementedWorkerServer) Unassign(context.Context, *Case) (*Response, error)
- type UnsafeClockServer
- type UnsafeCustomerServer
- type UnsafeWorkerServer
- type WorkerClient
- type WorkerRegister
- type WorkerServer
- type WorkerSkill
- func (*WorkerSkill) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerSkill) GetAdmin() int32
- func (x *WorkerSkill) GetArchitecture() int32
- func (x *WorkerSkill) GetBuild() int32
- func (x *WorkerSkill) GetEcosystem() int32
- func (x *WorkerSkill) GetEmpathy() int32
- func (x *WorkerSkill) GetExplain() int32
- func (x *WorkerSkill) GetResearch() int32
- func (x *WorkerSkill) GetTroubleshoot() int32
- func (x *WorkerSkill) GetUsage() int32
- func (x *WorkerSkill) GetWebTech() int32
- func (*WorkerSkill) ProtoMessage()
- func (x *WorkerSkill) ProtoReflect() protoreflect.Message
- func (x *WorkerSkill) Reset()
- func (x *WorkerSkill) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SkillEnum_name = map[int32]string{ 0: "Undefined", 1: "Troubleshoot", 2: "Build", 3: "Research", 4: "WebTech", 5: "Admin", 6: "Usage", 7: "Architecture", 8: "Ecosystem", 9: "Explain", 10: "Empathy", } SkillEnum_value = map[string]int32{ "Undefined": 0, "Troubleshoot": 1, "Build": 2, "Research": 3, "WebTech": 4, "Admin": 5, "Usage": 6, "Architecture": 7, "Ecosystem": 8, "Explain": 9, "Empathy": 10, } )
Enum value maps for SkillEnum.
var ( CaseStatus_name = map[int32]string{ 0: "New", 1: "Assigned", 2: "InProgress", 3: "WOCR", 4: "Closed", } CaseStatus_value = map[string]int32{ "New": 0, "Assigned": 1, "InProgress": 2, "WOCR": 3, "Closed": 4, } )
Enum value maps for CaseStatus.
var ( StageStatus_name = map[int32]string{ 0: "Working", 1: "Completed", } StageStatus_value = map[string]int32{ "Working": 0, "Completed": 1, } )
Enum value maps for StageStatus.
var Clock_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clock.Clock", HandlerType: (*ClockServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Register", Handler: _Clock_Register_Handler, ServerStreams: true, }, }, Metadata: "protos/clock.proto", }
Clock_ServiceDesc is the grpc.ServiceDesc for Clock service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Customer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "customer.Customer", HandlerType: (*CustomerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterCase", Handler: _Customer_RegisterCase_Handler, }, { MethodName: "GetCaseStatus", Handler: _Customer_GetCaseStatus_Handler, }, { MethodName: "SetDifficulty", Handler: _Customer_SetDifficulty_Handler, }, { MethodName: "CustomerReply", Handler: _Customer_CustomerReply_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protos/customer.proto", }
Customer_ServiceDesc is the grpc.ServiceDesc for Customer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_protos_case_proto protoreflect.FileDescriptor
var File_protos_clock_proto protoreflect.FileDescriptor
var File_protos_customer_proto protoreflect.FileDescriptor
var File_protos_utils_proto protoreflect.FileDescriptor
var File_protos_worker_proto protoreflect.FileDescriptor
var Worker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "worker.Worker", HandlerType: (*WorkerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Assign", Handler: _Worker_Assign_Handler, }, { MethodName: "Unassign", Handler: _Worker_Unassign_Handler, }, { MethodName: "SetWorkerSkills", Handler: _Worker_SetWorkerSkills_Handler, }, { MethodName: "Hello", Handler: _Worker_Hello_Handler, }, { MethodName: "GetCaseState", Handler: _Worker_GetCaseState_Handler, }, { MethodName: "KillWorker", Handler: _Worker_KillWorker_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protos/worker.proto", }
Worker_ServiceDesc is the grpc.ServiceDesc for Worker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterClockServer ¶
func RegisterClockServer(s grpc.ServiceRegistrar, srv ClockServer)
func RegisterCustomerServer ¶
func RegisterCustomerServer(s grpc.ServiceRegistrar, srv CustomerServer)
func RegisterWorkerServer ¶
func RegisterWorkerServer(s grpc.ServiceRegistrar, srv WorkerServer)
Types ¶
type Case ¶
type Case struct { CaseID int32 `protobuf:"varint,1,opt,name=CaseID,proto3" json:"CaseID,omitempty"` Assignee int32 `protobuf:"varint,2,opt,name=Assignee,proto3" json:"Assignee,omitempty"` CustomerID int32 `protobuf:"varint,3,opt,name=CustomerID,proto3" json:"CustomerID,omitempty"` //Not currently used right now, but that's OK. CurrentStage int32 `protobuf:"varint,4,opt,name=CurrentStage,proto3" json:"CurrentStage,omitempty"` CustomerSentiment int32 `protobuf:"varint,5,opt,name=CustomerSentiment,proto3" json:"CustomerSentiment,omitempty"` //Customer's current sentiment of the case (range between 1, 2, 3, 4, 5 (5 being happy)) CaseStages []*CaseStage `protobuf:"bytes,6,rep,name=CaseStages,proto3" json:"CaseStages,omitempty"` Status CaseStatus `protobuf:"varint,7,opt,name=Status,proto3,enum=case.CaseStatus" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*Case) Descriptor
deprecated
func (*Case) GetAssignee ¶
func (*Case) GetCaseStages ¶
func (*Case) GetCurrentStage ¶
func (*Case) GetCustomerID ¶
func (*Case) GetCustomerSentiment ¶
func (*Case) GetStatus ¶
func (x *Case) GetStatus() CaseStatus
func (*Case) ProtoMessage ¶
func (*Case) ProtoMessage()
func (*Case) ProtoReflect ¶
func (x *Case) ProtoReflect() protoreflect.Message
type CaseStage ¶
type CaseStage struct { StageID int32 `protobuf:"varint,1,opt,name=StageID,proto3" json:"StageID,omitempty"` Type SkillEnum `protobuf:"varint,2,opt,name=Type,proto3,enum=case.SkillEnum" json:"Type,omitempty"` Status StageStatus `protobuf:"varint,3,opt,name=Status,proto3,enum=case.StageStatus" json:"Status,omitempty"` //Completed, vs In-progress Difficulty int32 `protobuf:"varint,4,opt,name=Difficulty,proto3" json:"Difficulty,omitempty"` //1-5 Set by the customer. Totalwork int32 `protobuf:"varint,5,opt,name=Totalwork,proto3" json:"Totalwork,omitempty"` //Total amount of work to be done. triage and comms have less work, while research has more. Completedwork int32 `protobuf:"varint,6,opt,name=Completedwork,proto3" json:"Completedwork,omitempty"` //How much work has been compelted so far. // contains filtered or unexported fields }
func (*CaseStage) Descriptor
deprecated
func (*CaseStage) GetCompletedwork ¶
func (*CaseStage) GetDifficulty ¶
func (*CaseStage) GetStageID ¶
func (*CaseStage) GetStatus ¶
func (x *CaseStage) GetStatus() StageStatus
func (*CaseStage) GetTotalwork ¶
func (*CaseStage) ProtoMessage ¶
func (*CaseStage) ProtoMessage()
func (*CaseStage) ProtoReflect ¶
func (x *CaseStage) ProtoReflect() protoreflect.Message
type CaseStatus ¶
type CaseStatus int32
const ( CaseStatus_New CaseStatus = 0 CaseStatus_Assigned CaseStatus = 1 CaseStatus_InProgress CaseStatus = 2 CaseStatus_WOCR CaseStatus = 3 CaseStatus_Closed CaseStatus = 4 )
func (CaseStatus) Descriptor ¶
func (CaseStatus) Descriptor() protoreflect.EnumDescriptor
func (CaseStatus) Enum ¶
func (x CaseStatus) Enum() *CaseStatus
func (CaseStatus) EnumDescriptor
deprecated
func (CaseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CaseStatus.Descriptor instead.
func (CaseStatus) Number ¶
func (x CaseStatus) Number() protoreflect.EnumNumber
func (CaseStatus) String ¶
func (x CaseStatus) String() string
func (CaseStatus) Type ¶
func (CaseStatus) Type() protoreflect.EnumType
type ClockClient ¶
type ClockClient interface {
Register(ctx context.Context, in *WorkerRegister, opts ...grpc.CallOption) (Clock_RegisterClient, error)
}
ClockClient is the client API for Clock 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 NewClockClient ¶
func NewClockClient(cc grpc.ClientConnInterface) ClockClient
type ClockServer ¶
type ClockServer interface { Register(*WorkerRegister, Clock_RegisterServer) error // contains filtered or unexported methods }
ClockServer is the server API for Clock service. All implementations must embed UnimplementedClockServer for forward compatibility
type Clock_RegisterClient ¶
type Clock_RegisterClient interface { Recv() (*Tick, error) grpc.ClientStream }
type Clock_RegisterServer ¶
type Clock_RegisterServer interface { Send(*Tick) error grpc.ServerStream }
type CustomerClient ¶
type CustomerClient interface { //API registers a case with the customer service. RegisterCase(ctx context.Context, in *Case, opts ...grpc.CallOption) (*Response, error) //Ask the customer if the case has expired GetCaseStatus(ctx context.Context, in *Case, opts ...grpc.CallOption) (*Case, error) //Set the scenario difficulty SetDifficulty(ctx context.Context, in *Difficulty, opts ...grpc.CallOption) (*Response, error) //Worker lets the customer know the stage is done, and customer gives the next stage. //Worker gives the completed current stage, and customer calculates if there's a next stage. //If there is, then that is returned, if not, then customer returns case is complete. CustomerReply(ctx context.Context, in *Case, opts ...grpc.CallOption) (*Case, error) }
CustomerClient is the client API for Customer 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 NewCustomerClient ¶
func NewCustomerClient(cc grpc.ClientConnInterface) CustomerClient
type CustomerServer ¶
type CustomerServer interface { //API registers a case with the customer service. RegisterCase(context.Context, *Case) (*Response, error) //Ask the customer if the case has expired GetCaseStatus(context.Context, *Case) (*Case, error) //Set the scenario difficulty SetDifficulty(context.Context, *Difficulty) (*Response, error) //Worker lets the customer know the stage is done, and customer gives the next stage. //Worker gives the completed current stage, and customer calculates if there's a next stage. //If there is, then that is returned, if not, then customer returns case is complete. CustomerReply(context.Context, *Case) (*Case, error) // contains filtered or unexported methods }
CustomerServer is the server API for Customer service. All implementations must embed UnimplementedCustomerServer for forward compatibility
type Difficulty ¶
type Difficulty struct { MinDifficulty int32 `protobuf:"varint,1,opt,name=minDifficulty,proto3" json:"minDifficulty,omitempty"` MaxDifficulty int32 `protobuf:"varint,2,opt,name=maxDifficulty,proto3" json:"maxDifficulty,omitempty"` // contains filtered or unexported fields }
Set scenario difficulty
func (*Difficulty) Descriptor
deprecated
func (*Difficulty) Descriptor() ([]byte, []int)
Deprecated: Use Difficulty.ProtoReflect.Descriptor instead.
func (*Difficulty) GetMaxDifficulty ¶
func (x *Difficulty) GetMaxDifficulty() int32
func (*Difficulty) GetMinDifficulty ¶
func (x *Difficulty) GetMinDifficulty() int32
func (*Difficulty) ProtoMessage ¶
func (*Difficulty) ProtoMessage()
func (*Difficulty) ProtoReflect ¶
func (x *Difficulty) ProtoReflect() protoreflect.Message
func (*Difficulty) Reset ¶
func (x *Difficulty) Reset()
func (*Difficulty) String ¶
func (x *Difficulty) String() string
type ListCaseReply ¶
type ListCaseReply struct { AssignedCases []*Case `protobuf:"bytes,1,rep,name=AssignedCases,proto3" json:"AssignedCases,omitempty"` CompletedCases []*Case `protobuf:"bytes,2,rep,name=CompletedCases,proto3" json:"CompletedCases,omitempty"` // contains filtered or unexported fields }
func (*ListCaseReply) Descriptor
deprecated
func (*ListCaseReply) Descriptor() ([]byte, []int)
Deprecated: Use ListCaseReply.ProtoReflect.Descriptor instead.
func (*ListCaseReply) GetAssignedCases ¶
func (x *ListCaseReply) GetAssignedCases() []*Case
func (*ListCaseReply) GetCompletedCases ¶
func (x *ListCaseReply) GetCompletedCases() []*Case
func (*ListCaseReply) ProtoMessage ¶
func (*ListCaseReply) ProtoMessage()
func (*ListCaseReply) ProtoReflect ¶
func (x *ListCaseReply) ProtoReflect() protoreflect.Message
func (*ListCaseReply) Reset ¶
func (x *ListCaseReply) Reset()
func (*ListCaseReply) String ¶
func (x *ListCaseReply) String() string
type Response ¶
type Response struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetSuccess ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type SkillEnum ¶
type SkillEnum int32
const ( SkillEnum_Undefined SkillEnum = 0 SkillEnum_Troubleshoot SkillEnum = 1 SkillEnum_Build SkillEnum = 2 SkillEnum_Research SkillEnum = 3 SkillEnum_WebTech SkillEnum = 4 SkillEnum_Admin SkillEnum = 5 SkillEnum_Usage SkillEnum = 6 SkillEnum_Architecture SkillEnum = 7 SkillEnum_Ecosystem SkillEnum = 8 SkillEnum_Explain SkillEnum = 9 SkillEnum_Empathy SkillEnum = 10 )
func (SkillEnum) Descriptor ¶
func (SkillEnum) Descriptor() protoreflect.EnumDescriptor
func (SkillEnum) EnumDescriptor
deprecated
func (SkillEnum) Number ¶
func (x SkillEnum) Number() protoreflect.EnumNumber
func (SkillEnum) Type ¶
func (SkillEnum) Type() protoreflect.EnumType
type StageStatus ¶
type StageStatus int32
const ( StageStatus_Working StageStatus = 0 StageStatus_Completed StageStatus = 1 )
func (StageStatus) Descriptor ¶
func (StageStatus) Descriptor() protoreflect.EnumDescriptor
func (StageStatus) Enum ¶
func (x StageStatus) Enum() *StageStatus
func (StageStatus) EnumDescriptor
deprecated
func (StageStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use StageStatus.Descriptor instead.
func (StageStatus) Number ¶
func (x StageStatus) Number() protoreflect.EnumNumber
func (StageStatus) String ¶
func (x StageStatus) String() string
func (StageStatus) Type ¶
func (StageStatus) Type() protoreflect.EnumType
type Tick ¶
type Tick struct { TickNum int32 `protobuf:"varint,1,opt,name=TickNum,proto3" json:"TickNum,omitempty"` // contains filtered or unexported fields }
func (*Tick) Descriptor
deprecated
func (*Tick) GetTickNum ¶
func (*Tick) ProtoMessage ¶
func (*Tick) ProtoMessage()
func (*Tick) ProtoReflect ¶
func (x *Tick) ProtoReflect() protoreflect.Message
type UnimplementedClockServer ¶
type UnimplementedClockServer struct { }
UnimplementedClockServer must be embedded to have forward compatible implementations.
func (UnimplementedClockServer) Register ¶
func (UnimplementedClockServer) Register(*WorkerRegister, Clock_RegisterServer) error
type UnimplementedCustomerServer ¶
type UnimplementedCustomerServer struct { }
UnimplementedCustomerServer must be embedded to have forward compatible implementations.
func (UnimplementedCustomerServer) CustomerReply ¶
func (UnimplementedCustomerServer) GetCaseStatus ¶
func (UnimplementedCustomerServer) RegisterCase ¶
func (UnimplementedCustomerServer) SetDifficulty ¶
func (UnimplementedCustomerServer) SetDifficulty(context.Context, *Difficulty) (*Response, error)
type UnimplementedWorkerServer ¶
type UnimplementedWorkerServer struct { }
UnimplementedWorkerServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkerServer) GetCaseState ¶
func (UnimplementedWorkerServer) KillWorker ¶
func (UnimplementedWorkerServer) SetWorkerSkills ¶
func (UnimplementedWorkerServer) SetWorkerSkills(context.Context, *WorkerSkill) (*Response, error)
type UnsafeClockServer ¶
type UnsafeClockServer interface {
// contains filtered or unexported methods
}
UnsafeClockServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClockServer will result in compilation errors.
type UnsafeCustomerServer ¶
type UnsafeCustomerServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerServer will result in compilation errors.
type UnsafeWorkerServer ¶
type UnsafeWorkerServer interface {
// contains filtered or unexported methods
}
UnsafeWorkerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkerServer will result in compilation errors.
type WorkerClient ¶
type WorkerClient interface { Assign(ctx context.Context, in *Case, opts ...grpc.CallOption) (*Response, error) Unassign(ctx context.Context, in *Case, opts ...grpc.CallOption) (*Response, error) SetWorkerSkills(ctx context.Context, in *WorkerSkill, opts ...grpc.CallOption) (*Response, error) Hello(ctx context.Context, in *Response, opts ...grpc.CallOption) (*Response, error) GetCaseState(ctx context.Context, in *Case, opts ...grpc.CallOption) (*Case, error) KillWorker(ctx context.Context, in *Response, opts ...grpc.CallOption) (*Response, error) }
WorkerClient is the client API for Worker 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 NewWorkerClient ¶
func NewWorkerClient(cc grpc.ClientConnInterface) WorkerClient
type WorkerRegister ¶
type WorkerRegister struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*WorkerRegister) Descriptor
deprecated
func (*WorkerRegister) Descriptor() ([]byte, []int)
Deprecated: Use WorkerRegister.ProtoReflect.Descriptor instead.
func (*WorkerRegister) GetID ¶
func (x *WorkerRegister) GetID() string
func (*WorkerRegister) ProtoMessage ¶
func (*WorkerRegister) ProtoMessage()
func (*WorkerRegister) ProtoReflect ¶
func (x *WorkerRegister) ProtoReflect() protoreflect.Message
func (*WorkerRegister) Reset ¶
func (x *WorkerRegister) Reset()
func (*WorkerRegister) String ¶
func (x *WorkerRegister) String() string
type WorkerServer ¶
type WorkerServer interface { Assign(context.Context, *Case) (*Response, error) Unassign(context.Context, *Case) (*Response, error) SetWorkerSkills(context.Context, *WorkerSkill) (*Response, error) Hello(context.Context, *Response) (*Response, error) GetCaseState(context.Context, *Case) (*Case, error) KillWorker(context.Context, *Response) (*Response, error) // contains filtered or unexported methods }
WorkerServer is the server API for Worker service. All implementations must embed UnimplementedWorkerServer for forward compatibility
type WorkerSkill ¶
type WorkerSkill struct { Troubleshoot int32 `protobuf:"varint,1,opt,name=Troubleshoot,proto3" json:"Troubleshoot,omitempty"` Build int32 `protobuf:"varint,2,opt,name=Build,proto3" json:"Build,omitempty"` Research int32 `protobuf:"varint,3,opt,name=Research,proto3" json:"Research,omitempty"` WebTech int32 `protobuf:"varint,4,opt,name=WebTech,proto3" json:"WebTech,omitempty"` Admin int32 `protobuf:"varint,5,opt,name=Admin,proto3" json:"Admin,omitempty"` Usage int32 `protobuf:"varint,6,opt,name=Usage,proto3" json:"Usage,omitempty"` Architecture int32 `protobuf:"varint,7,opt,name=Architecture,proto3" json:"Architecture,omitempty"` Ecosystem int32 `protobuf:"varint,8,opt,name=Ecosystem,proto3" json:"Ecosystem,omitempty"` Explain int32 `protobuf:"varint,9,opt,name=Explain,proto3" json:"Explain,omitempty"` Empathy int32 `protobuf:"varint,10,opt,name=Empathy,proto3" json:"Empathy,omitempty"` // contains filtered or unexported fields }
func (*WorkerSkill) Descriptor
deprecated
func (*WorkerSkill) Descriptor() ([]byte, []int)
Deprecated: Use WorkerSkill.ProtoReflect.Descriptor instead.
func (*WorkerSkill) GetAdmin ¶
func (x *WorkerSkill) GetAdmin() int32
func (*WorkerSkill) GetArchitecture ¶
func (x *WorkerSkill) GetArchitecture() int32
func (*WorkerSkill) GetBuild ¶
func (x *WorkerSkill) GetBuild() int32
func (*WorkerSkill) GetEcosystem ¶
func (x *WorkerSkill) GetEcosystem() int32
func (*WorkerSkill) GetEmpathy ¶
func (x *WorkerSkill) GetEmpathy() int32
func (*WorkerSkill) GetExplain ¶
func (x *WorkerSkill) GetExplain() int32
func (*WorkerSkill) GetResearch ¶
func (x *WorkerSkill) GetResearch() int32
func (*WorkerSkill) GetTroubleshoot ¶
func (x *WorkerSkill) GetTroubleshoot() int32
func (*WorkerSkill) GetUsage ¶
func (x *WorkerSkill) GetUsage() int32
func (*WorkerSkill) GetWebTech ¶
func (x *WorkerSkill) GetWebTech() int32
func (*WorkerSkill) ProtoMessage ¶
func (*WorkerSkill) ProtoMessage()
func (*WorkerSkill) ProtoReflect ¶
func (x *WorkerSkill) ProtoReflect() protoreflect.Message
func (*WorkerSkill) Reset ¶
func (x *WorkerSkill) Reset()
func (*WorkerSkill) String ¶
func (x *WorkerSkill) String() string