Socket
Socket
Sign inDemoInstall

github.com/aliyunmq/mq-http-go-sdk

Package Overview
Dependencies
0
Maintainers
0
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

github.com/aliyunmq/mq-http-go-sdk

    v1.0.3

Version published
Maintainers
0

Readme

# MQ GO HTTP SDK  
Alyun MQ Documents: http://www.aliyun.com/product/ons

Aliyun MQ Console: https://ons.console.aliyun.com


## Use

1. import `github.com/aliyunmq/mq-http-go-sdk`
2. setup GOPATH:
    - MAC/LINUX: export GOPATH={dir}, export GOBIN=$GOPATH/bin
    - WINDOWS: set GOPATH={dir}
2. go get -x -v

## Note
1. Http consumer only support timer msg (less than 3 days), no matter the msg is produced from http or tcp protocol.
2. Order is only supported at special server cluster.

## Sample (github)

[Publish Message](https://github.com/aliyunmq/mq-http-samples/blob/master/go/producer.go)

[Consume Message](https://github.com/aliyunmq/mq-http-samples/blob/master/go/consumer.go)

[Transaction Message](https://github.com/aliyunmq/mq-http-samples/blob/master/go/trans_producer.go)

[Publish Order Message](https://github.com/aliyunmq/mq-http-samples/blob/master/go/order_producer.go)

[Consume Order Message](https://github.com/aliyunmq/mq-http-samples/blob/master/go/order_consumer.go)


## Sample (code.aliyun.com)

[Publish Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/go/producer.go)

[Consume Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/go/consumer.go)

[Transaction Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/go/trans_producer.go)

[Publish Order Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/go/order_producer.go)

[Consume Order Message](https://code.aliyun.com/aliware_rocketmq/mq-http-samples/blob/master/go/order_consumer.go)

FAQs

Last updated on 05 Jan 2021

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc