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