本文整理匯總了Golang中github.com/Jordanzuo/RPCClient_Go.Request函數的典型用法代碼示例。如果您正苦於以下問題:Golang Request函數的具體用法?Golang Request怎麽用?Golang Request使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了Request函數的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: EchoSlice_int64
func EchoSlice_int64(input []int64, callback func(interface{})) {
rpc.Request("Echo", "EchoSlice_int64", []interface{}{input}, callback)
}
示例2: EchoSlice_uint32
func EchoSlice_uint32(input []uint32, callback func(interface{})) {
rpc.Request("Echo", "EchoSlice_uint32", []interface{}{input}, callback)
}
示例3: Echo_string
func Echo_string(input string, callback func(interface{})) {
rpc.Request("Echo", "Echo_string", []interface{}{input}, callback)
}
示例4: Echo_bool
func Echo_bool(input bool, callback func(interface{})) {
rpc.Request("Echo", "Echo_bool", []interface{}{input}, callback)
}
示例5: Echo_float64
func Echo_float64(input float64, callback func(interface{})) {
rpc.Request("Echo", "Echo_float64", []interface{}{input}, callback)
}
示例6: Echo_uint16
func Echo_uint16(input uint16, callback func(interface{})) {
rpc.Request("Echo", "Echo_uint16", []interface{}{input}, callback)
}
示例7: Echo_int8
func Echo_int8(input int8, callback func(interface{})) {
rpc.Request("Echo", "Echo_int8", []interface{}{input}, callback)
}
示例8: AlterName
func AlterName(name string, callback func(interface{})) {
rpc.Request("Player", "AlterName", []interface{}{name}, callback)
}
示例9: Login
func Login(name, loginKey string, callback func(interface{})) {
rpc.Request("Player", "Login", []interface{}{configBLL.PartnerId, configBLL.ServerId, configBLL.GameVersionId, resourceVersionBLL.ResourceVersionId, name, securityUtil.Md5String(fmt.Sprintf("%s-%s", name, loginKey), false)}, callback)
}