27 lines
635 B
Go
27 lines
635 B
Go
// Code generated by protoc-gen-slc. DO NOT EDIT.
|
|
package server
|
|
|
|
import (
|
|
"bsm/full/module/base/passport/internal/logic/verify"
|
|
pb "bsm/full/module/base/passport/pb"
|
|
"context"
|
|
)
|
|
|
|
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)
|
|
}
|