v1.5.1 增强程序稳定性

This commit is contained in:
robin
2026-03-22 17:37:40 +08:00
parent afbaaa869c
commit 17e182b413
652 changed files with 22949 additions and 34397 deletions

View File

@@ -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_ip_library.proto
package pb
@@ -233,37 +233,37 @@ type IPLibraryServiceServer interface {
type UnimplementedIPLibraryServiceServer struct{}
func (UnimplementedIPLibraryServiceServer) CreateIPLibrary(context.Context, *CreateIPLibraryRequest) (*CreateIPLibraryResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateIPLibrary not implemented")
return nil, status.Error(codes.Unimplemented, "method CreateIPLibrary not implemented")
}
func (UnimplementedIPLibraryServiceServer) FindLatestIPLibraryWithType(context.Context, *FindLatestIPLibraryWithTypeRequest) (*FindLatestIPLibraryWithTypeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindLatestIPLibraryWithType not implemented")
return nil, status.Error(codes.Unimplemented, "method FindLatestIPLibraryWithType not implemented")
}
func (UnimplementedIPLibraryServiceServer) FindEnabledIPLibrary(context.Context, *FindEnabledIPLibraryRequest) (*FindEnabledIPLibraryResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledIPLibrary not implemented")
return nil, status.Error(codes.Unimplemented, "method FindEnabledIPLibrary not implemented")
}
func (UnimplementedIPLibraryServiceServer) FindAllEnabledIPLibrariesWithType(context.Context, *FindAllEnabledIPLibrariesWithTypeRequest) (*FindAllEnabledIPLibrariesWithTypeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledIPLibrariesWithType not implemented")
return nil, status.Error(codes.Unimplemented, "method FindAllEnabledIPLibrariesWithType not implemented")
}
func (UnimplementedIPLibraryServiceServer) DeleteIPLibrary(context.Context, *DeleteIPLibraryRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteIPLibrary not implemented")
return nil, status.Error(codes.Unimplemented, "method DeleteIPLibrary not implemented")
}
func (UnimplementedIPLibraryServiceServer) LookupIPRegion(context.Context, *LookupIPRegionRequest) (*LookupIPRegionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method LookupIPRegion not implemented")
return nil, status.Error(codes.Unimplemented, "method LookupIPRegion not implemented")
}
func (UnimplementedIPLibraryServiceServer) LookupIPRegions(context.Context, *LookupIPRegionsRequest) (*LookupIPRegionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method LookupIPRegions not implemented")
return nil, status.Error(codes.Unimplemented, "method LookupIPRegions not implemented")
}
func (UnimplementedIPLibraryServiceServer) ReloadIPLibrary(context.Context, *ReloadIPLibraryRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method ReloadIPLibrary not implemented")
return nil, status.Error(codes.Unimplemented, "method ReloadIPLibrary not implemented")
}
func (UnimplementedIPLibraryServiceServer) UploadMaxMindFile(context.Context, *UploadMaxMindFileRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UploadMaxMindFile not implemented")
return nil, status.Error(codes.Unimplemented, "method UploadMaxMindFile not implemented")
}
func (UnimplementedIPLibraryServiceServer) FindMaxMindFileStatus(context.Context, *FindMaxMindFileStatusRequest) (*FindMaxMindFileStatusResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindMaxMindFileStatus not implemented")
return nil, status.Error(codes.Unimplemented, "method FindMaxMindFileStatus not implemented")
}
func (UnimplementedIPLibraryServiceServer) DeleteMaxMindFile(context.Context, *DeleteMaxMindFileRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteMaxMindFile not implemented")
return nil, status.Error(codes.Unimplemented, "method DeleteMaxMindFile not implemented")
}
func (UnimplementedIPLibraryServiceServer) testEmbeddedByValue() {}
@@ -275,7 +275,7 @@ type UnsafeIPLibraryServiceServer interface {
}
func RegisterIPLibraryServiceServer(s grpc.ServiceRegistrar, srv IPLibraryServiceServer) {
// If the following call pancis, it indicates UnimplementedIPLibraryServiceServer was
// If the following call panics, it indicates UnimplementedIPLibraryServiceServer 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.