Documentation ¶
Index ¶
- Constants
- func Fetch(url string) (content []byte, err error)
- func FetchLatestLiqiJson(filePath string) (err error)
- func GetMajsoulVersion(apiGetVersionURL string) (version *majsoulVersion, err error)
- func GetMajsoulWebSocketURL() (url string, err error)
- func LiqiJsonToProto3(liqiJsonContent []byte, protoFilePath string) (err error)
Constants ¶
View Source
const (
ApiGetVersionZH = majsoulJSURLPrefixZH + "version.json"
)
for normal requests
View Source
const (
MajsoulOriginURL = "https://www.majsoul.com"
)
for WebSocket
Variables ¶
This section is empty.
Functions ¶
func FetchLatestLiqiJson ¶
func GetMajsoulVersion ¶
func GetMajsoulWebSocketURL ¶
获取雀魂 WebSocket 服务器地址
func LiqiJsonToProto3 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.