YouChuKoffee/rpc/server.go

17 lines
213 B
Go
Raw Normal View History

2024-06-17 14:18:39 +08:00
package rpc
import (
"github.com/qit-team/snow-core/kernel/server"
__ "qteam/rpc/user"
)
func StartRpc() error {
go (&__.UserServer{}).StartServer()
//等待停止信号
server.WaitStop()
return nil
}