feat: 优化web

This commit is contained in:
2026-04-23 18:58:13 +08:00
commit 544a2f3428
160 changed files with 27327 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package server
import (
"time"
"giter.top/smart/pkg/config"
)
type GrpcServer struct {
addr string
timeout time.Duration
}
func NewGrpcServer(cfg *config.Config) *GrpcServer {
return &GrpcServer{
addr: cfg.Server.Grpc.Addr,
timeout: cfg.Server.Grpc.Timeout,
}
}
func (s *GrpcServer) Run() error {
return nil
}
func (s *GrpcServer) Stop() error {
return nil
}