generated from VLADIMIR/template
up
This commit is contained in:
@@ -111,6 +111,7 @@ const (
|
||||
EveningDetectiveServer_SaveScreenPlan_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SaveScreenPlan"
|
||||
EveningDetectiveServer_SetScreenPlanStep_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScreenPlanStep"
|
||||
EveningDetectiveServer_GetScreenResults_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenResults"
|
||||
EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadGamePrintMaterials"
|
||||
EveningDetectiveServer_DownloadTeamQR_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadTeamQR"
|
||||
EveningDetectiveServer_GetGameAnswers_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameAnswers"
|
||||
EveningDetectiveServer_GetGameResults_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameResults"
|
||||
@@ -240,6 +241,7 @@ type EveningDetectiveServerClient interface {
|
||||
SaveScreenPlan(ctx context.Context, in *SaveScreenPlanReq, opts ...grpc.CallOption) (*SaveScreenPlanRsp, error)
|
||||
SetScreenPlanStep(ctx context.Context, in *SetScreenPlanStepReq, opts ...grpc.CallOption) (*SetScreenPlanStepRsp, error)
|
||||
GetScreenResults(ctx context.Context, in *GetScreenResultsReq, opts ...grpc.CallOption) (*GetScreenResultsRsp, error)
|
||||
DownloadGamePrintMaterials(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
||||
DownloadTeamQR(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
||||
GetGameAnswers(ctx context.Context, in *GetGameAnswersReq, opts ...grpc.CallOption) (*GetGameAnswersRsp, error)
|
||||
GetGameResults(ctx context.Context, in *GetGameResultsReq, opts ...grpc.CallOption) (*GetGameResultsRsp, error)
|
||||
@@ -1126,6 +1128,16 @@ func (c *eveningDetectiveServerClient) GetScreenResults(ctx context.Context, in
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *eveningDetectiveServerClient) DownloadGamePrintMaterials(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(httpbody.HttpBody)
|
||||
err := c.cc.Invoke(ctx, EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *eveningDetectiveServerClient) DownloadTeamQR(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(httpbody.HttpBody)
|
||||
@@ -1487,6 +1499,7 @@ type EveningDetectiveServerServer interface {
|
||||
SaveScreenPlan(context.Context, *SaveScreenPlanReq) (*SaveScreenPlanRsp, error)
|
||||
SetScreenPlanStep(context.Context, *SetScreenPlanStepReq) (*SetScreenPlanStepRsp, error)
|
||||
GetScreenResults(context.Context, *GetScreenResultsReq) (*GetScreenResultsRsp, error)
|
||||
DownloadGamePrintMaterials(context.Context, *GetGameReq) (*httpbody.HttpBody, error)
|
||||
DownloadTeamQR(context.Context, *GetGameReq) (*httpbody.HttpBody, error)
|
||||
GetGameAnswers(context.Context, *GetGameAnswersReq) (*GetGameAnswersRsp, error)
|
||||
GetGameResults(context.Context, *GetGameResultsReq) (*GetGameResultsRsp, error)
|
||||
@@ -1778,6 +1791,9 @@ func (UnimplementedEveningDetectiveServerServer) SetScreenPlanStep(context.Conte
|
||||
func (UnimplementedEveningDetectiveServerServer) GetScreenResults(context.Context, *GetScreenResultsReq) (*GetScreenResultsRsp, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method GetScreenResults not implemented")
|
||||
}
|
||||
func (UnimplementedEveningDetectiveServerServer) DownloadGamePrintMaterials(context.Context, *GetGameReq) (*httpbody.HttpBody, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DownloadGamePrintMaterials not implemented")
|
||||
}
|
||||
func (UnimplementedEveningDetectiveServerServer) DownloadTeamQR(context.Context, *GetGameReq) (*httpbody.HttpBody, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method DownloadTeamQR not implemented")
|
||||
}
|
||||
@@ -3408,6 +3424,24 @@ func _EveningDetectiveServer_GetScreenResults_Handler(srv interface{}, ctx conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _EveningDetectiveServer_DownloadGamePrintMaterials_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetGameReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(EveningDetectiveServerServer).DownloadGamePrintMaterials(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(EveningDetectiveServerServer).DownloadGamePrintMaterials(ctx, req.(*GetGameReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _EveningDetectiveServer_DownloadTeamQR_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetGameReq)
|
||||
if err := dec(in); err != nil {
|
||||
@@ -4223,6 +4257,10 @@ var EveningDetectiveServer_ServiceDesc = grpc.ServiceDesc{
|
||||
MethodName: "GetScreenResults",
|
||||
Handler: _EveningDetectiveServer_GetScreenResults_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DownloadGamePrintMaterials",
|
||||
Handler: _EveningDetectiveServer_DownloadGamePrintMaterials_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DownloadTeamQR",
|
||||
Handler: _EveningDetectiveServer_DownloadTeamQR_Handler,
|
||||
|
||||
Reference in New Issue
Block a user