refactor: reorganize modules and add Linux build tooling
This commit is contained in:
26
module/base/passport/internal/server/verify_server.go
Normal file
26
module/base/passport/internal/server/verify_server.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// Code generated by protoc-gen-slc. DO NOT EDIT.
|
||||
package server
|
||||
|
||||
import (
|
||||
"context"
|
||||
"bsm/full/module/base/passport/internal/logic/verify"
|
||||
pb "bsm/full/module/base/passport/pb"
|
||||
)
|
||||
|
||||
type VerifyServer struct {
|
||||
pb.UnimplementedVerifyServer
|
||||
}
|
||||
|
||||
func NewVerifyServer() *VerifyServer {
|
||||
return &VerifyServer{}
|
||||
}
|
||||
|
||||
// 认证请求
|
||||
func (s *VerifyServer) Request(ctx context.Context, in *pb.VerifyRequest) (*pb.StatusReply, error) {
|
||||
return verify.Request(ctx, in)
|
||||
}
|
||||
|
||||
// KYC 认证回调
|
||||
func (s *VerifyServer) JumioCallback(ctx context.Context, in *pb.JumioCallbackPayload) (*pb.StatusReply, error) {
|
||||
return verify.JumioCallback(ctx, in)
|
||||
}
|
||||
Reference in New Issue
Block a user