refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

View File

@@ -1,8 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.1
// - protoc (unknown)
// source: login.proto
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.0
// source: module/base/passport/proto/login.proto
package passport
@@ -77,7 +77,7 @@ func (c *loginClient) Quick(ctx context.Context, in *LoginByCodeRequest, opts ..
}
// LoginServer is the server API for Login service.
// All implementations must embed UnimplementedLoginServer
// All implementations should embed UnimplementedLoginServer
// for forward compatibility.
//
// Passport-通行证模块-登录
@@ -88,10 +88,9 @@ type LoginServer interface {
Code(context.Context, *LoginByCodeRequest) (*LoginReply, error)
// 通过验证码快捷登录并注册
Quick(context.Context, *LoginByCodeRequest) (*LoginReply, error)
mustEmbedUnimplementedLoginServer()
}
// UnimplementedLoginServer must be embedded to have
// UnimplementedLoginServer should be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
@@ -107,8 +106,7 @@ func (UnimplementedLoginServer) Code(context.Context, *LoginByCodeRequest) (*Log
func (UnimplementedLoginServer) Quick(context.Context, *LoginByCodeRequest) (*LoginReply, error) {
return nil, status.Error(codes.Unimplemented, "method Quick not implemented")
}
func (UnimplementedLoginServer) mustEmbedUnimplementedLoginServer() {}
func (UnimplementedLoginServer) testEmbeddedByValue() {}
func (UnimplementedLoginServer) testEmbeddedByValue() {}
// UnsafeLoginServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to LoginServer will
@@ -203,5 +201,5 @@ var Login_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "login.proto",
Metadata: "module/base/passport/proto/login.proto",
}