refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,26 @@
// Code generated by protoc-gen-slc. DO NOT EDIT.
package server
import (
"context"
"bsm/full/module/base/cloud/internal/logic/space"
pb "bsm/full/module/base/cloud/pb"
)
type SpaceServer struct {
pb.UnimplementedSpaceServer
}
func NewSpaceServer() *SpaceServer {
return &SpaceServer{}
}
// 获取空间数据
func (s *SpaceServer) Get(ctx context.Context, in *pb.Empty) (*pb.CloudSpace, error) {
return space.Get(ctx, in)
}
// 获取空间数据
func (s *SpaceServer) GetByKeyIdentifier(ctx context.Context, in *pb.IdentRequest) (*pb.CloudSpace, error) {
return space.GetByKeyIdentifier(ctx, in)
}