package rpc import ( __ "cron_admin/rpc/user" "github.com/qit-team/snow-core/kernel/server" ) func StartRpc() error { go (&__.UserServer{}).StartServer() //等待停止信号 server.WaitStop() return nil }