// Code generated by goctl. DO NOT EDIT. // goctl 1.8.5 // Source: blockchain.proto package server import ( "context" "blockchain/gen_result/pb/code.30cm.net/digimon/app-cloudep-blockchain" "blockchain/internal/logic/blockchainservice" "blockchain/internal/svc" ) type BlockchainServiceServer struct { svcCtx *svc.ServiceContext app_cloudep_blockchain.UnimplementedBlockchainServiceServer } func NewBlockchainServiceServer(svcCtx *svc.ServiceContext) *BlockchainServiceServer { return &BlockchainServiceServer{ svcCtx: svcCtx, } } func (s *BlockchainServiceServer) Ping(ctx context.Context, in *app_cloudep_blockchain.NoneReq) (*app_cloudep_blockchain.OKResp, error) { l := blockchainservicelogic.NewPingLogic(ctx, s.svcCtx) return l.Ping(in) }