generated from VLADIMIR/template
up
This commit is contained in:
@@ -112,6 +112,7 @@ const (
|
||||
EveningDetectiveServer_GetScreenPlan_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenPlan"
|
||||
EveningDetectiveServer_SaveScreenPlan_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SaveScreenPlan"
|
||||
EveningDetectiveServer_SetScreenPlanStep_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScreenPlanStep"
|
||||
EveningDetectiveServer_GetScreenTeams_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenTeams"
|
||||
EveningDetectiveServer_GetScreenResults_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenResults"
|
||||
EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadGamePrintMaterials"
|
||||
EveningDetectiveServer_PreviewTeamReceipt_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/PreviewTeamReceipt"
|
||||
@@ -248,6 +249,7 @@ type EveningDetectiveServerClient interface {
|
||||
GetScreenPlan(ctx context.Context, in *GetScreenPlanReq, opts ...grpc.CallOption) (*GetScreenPlanRsp, error)
|
||||
SaveScreenPlan(ctx context.Context, in *SaveScreenPlanReq, opts ...grpc.CallOption) (*SaveScreenPlanRsp, error)
|
||||
SetScreenPlanStep(ctx context.Context, in *SetScreenPlanStepReq, opts ...grpc.CallOption) (*SetScreenPlanStepRsp, error)
|
||||
GetScreenTeams(ctx context.Context, in *GetScreenTeamsReq, opts ...grpc.CallOption) (*GetScreenTeamsRsp, error)
|
||||
GetScreenResults(ctx context.Context, in *GetScreenResultsReq, opts ...grpc.CallOption) (*GetScreenResultsRsp, error)
|
||||
DownloadGamePrintMaterials(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
||||
PreviewTeamReceipt(ctx context.Context, in *TeamReceiptReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
||||
@@ -1148,6 +1150,16 @@ func (c *eveningDetectiveServerClient) SetScreenPlanStep(ctx context.Context, in
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *eveningDetectiveServerClient) GetScreenTeams(ctx context.Context, in *GetScreenTeamsReq, opts ...grpc.CallOption) (*GetScreenTeamsRsp, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(GetScreenTeamsRsp)
|
||||
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScreenTeams_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *eveningDetectiveServerClient) GetScreenResults(ctx context.Context, in *GetScreenResultsReq, opts ...grpc.CallOption) (*GetScreenResultsRsp, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(GetScreenResultsRsp)
|
||||
@@ -1552,6 +1564,7 @@ type EveningDetectiveServerServer interface {
|
||||
GetScreenPlan(context.Context, *GetScreenPlanReq) (*GetScreenPlanRsp, error)
|
||||
SaveScreenPlan(context.Context, *SaveScreenPlanReq) (*SaveScreenPlanRsp, error)
|
||||
SetScreenPlanStep(context.Context, *SetScreenPlanStepReq) (*SetScreenPlanStepRsp, error)
|
||||
GetScreenTeams(context.Context, *GetScreenTeamsReq) (*GetScreenTeamsRsp, error)
|
||||
GetScreenResults(context.Context, *GetScreenResultsReq) (*GetScreenResultsRsp, error)
|
||||
DownloadGamePrintMaterials(context.Context, *GetGameReq) (*httpbody.HttpBody, error)
|
||||
PreviewTeamReceipt(context.Context, *TeamReceiptReq) (*httpbody.HttpBody, error)
|
||||
@@ -1850,6 +1863,9 @@ func (UnimplementedEveningDetectiveServerServer) SaveScreenPlan(context.Context,
|
||||
func (UnimplementedEveningDetectiveServerServer) SetScreenPlanStep(context.Context, *SetScreenPlanStepReq) (*SetScreenPlanStepRsp, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method SetScreenPlanStep not implemented")
|
||||
}
|
||||
func (UnimplementedEveningDetectiveServerServer) GetScreenTeams(context.Context, *GetScreenTeamsReq) (*GetScreenTeamsRsp, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method GetScreenTeams not implemented")
|
||||
}
|
||||
func (UnimplementedEveningDetectiveServerServer) GetScreenResults(context.Context, *GetScreenResultsReq) (*GetScreenResultsRsp, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method GetScreenResults not implemented")
|
||||
}
|
||||
@@ -3510,6 +3526,24 @@ func _EveningDetectiveServer_SetScreenPlanStep_Handler(srv interface{}, ctx cont
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _EveningDetectiveServer_GetScreenTeams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetScreenTeamsReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(EveningDetectiveServerServer).GetScreenTeams(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: EveningDetectiveServer_GetScreenTeams_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(EveningDetectiveServerServer).GetScreenTeams(ctx, req.(*GetScreenTeamsReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _EveningDetectiveServer_GetScreenResults_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetScreenResultsReq)
|
||||
if err := dec(in); err != nil {
|
||||
@@ -4401,6 +4435,10 @@ var EveningDetectiveServer_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "SetScreenPlanStep",
|
||||
Handler: _EveningDetectiveServer_SetScreenPlanStep_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetScreenTeams",
|
||||
Handler: _EveningDetectiveServer_GetScreenTeams_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetScreenResults",
|
||||
Handler: _EveningDetectiveServer_GetScreenResults_Handler,
|
||||
|
||||
Reference in New Issue
Block a user