Documentation ¶
Overview ¶
Package bf1api 战地相关api库
Index ¶
- Constants
- func Exception(errcode int64) error
- func GetExchange() (map[string][]string, error)
- func GetPersonalID(name string) (string, error)
- func GetServerFullInfo(gameID string) (*gjson.Result, error)
- func Login(username, password string) error
- func ReturnJSON(url, method string, body interface{}) (*gjson.Result, error)
- type Pack
Constants ¶
View Source
const ( ErrServerNotFound int64 = -34501 ErrInvalidMapID int64 = -32603 ErrServerOutdate int64 = -32851 ErrPlayerIsAdmin int64 = -32857 ErrinvalidPlayer int64 = -32856 ErrServerNotStart int64 = -32858 )
error code
TODO: #7
Variables ¶
This section is empty.
Functions ¶
func GetServerFullInfo ¶ added in v1.0.2
GetServerFullInfo 获取服务器完整信息
Types ¶
Click to show internal directories.
Click to hide internal directories.