This commit is contained in:
Jeff Mitchell committed 2020-08-17 11:50:59 -04:00
1 parent 7d133878be
commit 4655f58365
12 files changed
+242 -134

No files matched your search

@@ -50,7 +50,6 @@ func request_ScopeService_GetScope_0(ctx context.Context, marshaler runtime.Mars
}
protoReq.Id, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err)
}
@@ -84,7 +83,6 @@ func local_request_ScopeService_GetScope_0(ctx context.Context, marshaler runtim
}
protoReq.Id, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err)
}
@@ -225,7 +223,6 @@ func request_ScopeService_UpdateScope_0(ctx context.Context, marshaler runtime.M
}
protoReq.Id, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err)
}
@@ -274,7 +271,6 @@ func local_request_ScopeService_UpdateScope_0(ctx context.Context, marshaler run
}
protoReq.Id, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err)
}
@@ -308,7 +304,6 @@ func request_ScopeService_DeleteScope_0(ctx context.Context, marshaler runtime.M
}
protoReq.Id, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err)
}
@@ -335,7 +330,6 @@ func local_request_ScopeService_DeleteScope_0(ctx context.Context, marshaler run
}
protoReq.Id, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err)
}
@@ -348,6 +342,7 @@ func local_request_ScopeService_DeleteScope_0(ctx context.Context, marshaler run
// RegisterScopeServiceHandlerServer registers the http handlers for service ScopeService to "mux".
// UnaryRPC :call ScopeServiceServer directly.
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterScopeServiceHandlerFromEndpoint instead.
func RegisterScopeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ScopeServiceServer) error {
mux.Handle("GET", pattern_ScopeService_GetScope_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {