v1.5.1 增强程序稳定性
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc v6.33.2
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.19.6
|
||||
// source: service_script.proto
|
||||
|
||||
package pb
|
||||
@@ -188,31 +188,31 @@ type ScriptServiceServer interface {
|
||||
type UnimplementedScriptServiceServer struct{}
|
||||
|
||||
func (UnimplementedScriptServiceServer) CreateScript(context.Context, *CreateScriptRequest) (*CreateScriptResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateScript not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CreateScript not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) DeleteScript(context.Context, *DeleteScriptRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteScript not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteScript not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) CountAllEnabledScripts(context.Context, *CountAllEnabledScriptsRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledScripts not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAllEnabledScripts not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) ListEnabledScripts(context.Context, *ListEnabledScriptsRequest) (*ListEnabledScriptsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledScripts not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ListEnabledScripts not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) PublishScripts(context.Context, *PublishScriptsRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method PublishScripts not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method PublishScripts not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) CheckScriptUpdates(context.Context, *CheckScriptUpdatesRequest) (*CheckScriptUpdatesResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CheckScriptUpdates not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CheckScriptUpdates not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) FindEnabledScript(context.Context, *FindEnabledScriptRequest) (*FindEnabledScriptResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledScript not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindEnabledScript not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) UpdateScript(context.Context, *UpdateScriptRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateScript not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateScript not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) ComposeScriptConfigs(context.Context, *ComposeScriptConfigsRequest) (*ComposeScriptConfigsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ComposeScriptConfigs not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ComposeScriptConfigs not implemented")
|
||||
}
|
||||
func (UnimplementedScriptServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -224,7 +224,7 @@ type UnsafeScriptServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterScriptServiceServer(s grpc.ServiceRegistrar, srv ScriptServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedScriptServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedScriptServiceServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
Reference in New Issue
Block a user