53 lines
1.9 KiB
Go
53 lines
1.9 KiB
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
pb "sandc/api/eonline/v1"
|
|
)
|
|
|
|
type EonlineService struct {
|
|
pb.UnimplementedEonlineServer
|
|
}
|
|
|
|
func NewEonlineService() *EonlineService {
|
|
return &EonlineService{}
|
|
}
|
|
|
|
func (s *EonlineService) SayHello(ctx context.Context, req *pb.HelloRequest) (*pb.HelloReply, error) {
|
|
return &pb.HelloReply{}, nil
|
|
}
|
|
func (s *EonlineService) PayInit(ctx context.Context, req *pb.PayInitReq) (*pb.PayInitReply, error) {
|
|
return &pb.PayInitReply{}, nil
|
|
}
|
|
func (s *EonlineService) Payout(ctx context.Context, req *pb.PayoutReq) (*pb.PayoutReply, error) {
|
|
return &pb.PayoutReply{}, nil
|
|
}
|
|
func (s *EonlineService) PayoutBrazil(ctx context.Context, req *pb.PayoutReq) (*pb.PayoutReply, error) {
|
|
return &pb.PayoutReply{}, nil
|
|
}
|
|
func (s *EonlineService) PayoutCallback(ctx context.Context, req *pb.PayoutCallbackReq) (*pb.PayoutCallbackReply, error) {
|
|
return &pb.PayoutCallbackReply{}, nil
|
|
}
|
|
func (s *EonlineService) PayoutCheck(ctx context.Context, req *pb.PayoutCheckReq) (*pb.PayoutCheckReply, error) {
|
|
return &pb.PayoutCheckReply{}, nil
|
|
}
|
|
func (s *EonlineService) GetPayoutUserLst(ctx context.Context, req *pb.PayoutUserLstReq) (*pb.PayoutUserLstReply, error) {
|
|
return &pb.PayoutUserLstReply{}, nil
|
|
}
|
|
func (s *EonlineService) SetPayoutStatus(ctx context.Context, req *pb.PayoutStatusReq) (*pb.PayoutStatusReply, error) {
|
|
return &pb.PayoutStatusReply{}, nil
|
|
}
|
|
func (s *EonlineService) SubmitCheck(ctx context.Context, req *pb.SubmitCheckReq) (*pb.SubmitCheckReply, error) {
|
|
return &pb.SubmitCheckReply{}, nil
|
|
}
|
|
func (s *EonlineService) CheckInfo(ctx context.Context, req *pb.CheckInfoReq) (*pb.CheckInfoReply, error) {
|
|
return &pb.CheckInfoReply{}, nil
|
|
}
|
|
func (s *EonlineService) AddChat(ctx context.Context, req *pb.AddChatReq) (*pb.AddChatReply, error) {
|
|
return &pb.AddChatReply{}, nil
|
|
}
|
|
func (s *EonlineService) GetChat(ctx context.Context, req *pb.GetChatReq) (*pb.GetChatReply, error) {
|
|
return &pb.GetChatReply{}, nil
|
|
}
|