// Code generated by goctl. DO NOT EDIT. // goctl 1.7.6 // Source: user_management.proto package server import ( "context" "gitea.youtukeji.com.cn/xiabin/youtu_grpc/user_management/internal/logic" "gitea.youtukeji.com.cn/xiabin/youtu_grpc/user_management/internal/svc" "gitea.youtukeji.com.cn/xiabin/youtu_grpc/user_management/user_management" ) type UserManagementServer struct { svcCtx *svc.ServiceContext user_management.UnimplementedUserManagementServer } func NewUserManagementServer(svcCtx *svc.ServiceContext) *UserManagementServer { return &UserManagementServer{ svcCtx: svcCtx, } } func (s *UserManagementServer) Ping(ctx context.Context, in *user_management.Request) (*user_management.Response, error) { l := logic.NewPingLogic(ctx, s.svcCtx) return l.Ping(in) } func (s *UserManagementServer) SetAppAccount(ctx context.Context, in *user_management.SetAppUserRequest) (*user_management.Response, error) { l := logic.NewSetAppAccountLogic(ctx, s.svcCtx) return l.SetAppAccount(in) }