|
@ -2,6 +2,12 @@ package rabbitmqrpc |
|
|
|
|
|
|
|
|
const DES_KEY = "mqbitrab" |
|
|
const DES_KEY = "mqbitrab" |
|
|
|
|
|
|
|
|
|
|
|
type MsgBody struct { |
|
|
|
|
|
Exchange string |
|
|
|
|
|
Key string |
|
|
|
|
|
Data string |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
func rpc_server_conn(url ...string) (*RabbitmqServiceClient, error) { |
|
|
func rpc_server_conn(url ...string) (*RabbitmqServiceClient, error) { |
|
|
|
|
|
|
|
|
var wx_rpc_url string = "127.0.0.1:7955" |
|
|
var wx_rpc_url string = "127.0.0.1:7955" |
|
|