mirror of
https://gitee.com/lauix/HFish
synced 2025-05-13 21:28:02 +08:00
17 lines
171 B
Go
17 lines
171 B
Go
|
package is
|
||
|
|
||
|
import (
|
||
|
"HFish/utils/conf"
|
||
|
)
|
||
|
|
||
|
func Rpc() bool {
|
||
|
rpcStatus := conf.Get("rpc", "status")
|
||
|
|
||
|
if rpcStatus == "2" {
|
||
|
return true
|
||
|
} else {
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
}
|