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,31 @@
// Code generated by protoc-gen-slc. DO NOT EDIT.
package server
import (
"context"
"bsm/full/module/base/initial/internal/logic/check"
pb "bsm/full/module/base/initial/pb"
)
type CheckServer struct {
pb.UnimplementedCheckServer
}
func NewCheckServer() *CheckServer {
return &CheckServer{}
}
// HELLO
func (s *CheckServer) Hello(ctx context.Context, in *pb.Crc) (*pb.StatusReply, error) {
return check.Hello(ctx, in)
}
// 获取应用的相关配置信息
func (s *CheckServer) Config(ctx context.Context, in *pb.ConfigRequest) (*pb.ConfigReply, error) {
return check.Config(ctx, in)
}
// 检查更新
func (s *CheckServer) Updates(ctx context.Context, in *pb.CheckForUpdatesRequest) (*pb.CheckForUpdatesReply, error) {
return check.Updates(ctx, in)
}