Skip to content

Instantly share code, notes, and snippets.

ATmega8

Block or report user

Report or block ATmega8

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:b66a87c04826b77f750e4a55a0be8e7b
<?php
/**
* Typecho Blog Platform
*
* @copyright Copyright (c) 2008 Typecho team (http://www.typecho.org)
* @license GNU General Public License 2.0
* @version $Id$
*/
/** 定义根目录 */
@ATmega8
ATmega8 / consumer.go
Created Oct 20, 2018 — forked from simpleton/consumer.go
Golang auto-reconnect rabbitmq consumer
View consumer.go
package base
import (
"errors"
"fmt"
"github.com/manucorporat/try"
"github.com/simpleton/beego"
"github.com/streadway/amqp"
"math/rand"
"model/helper"
You can’t perform that action at this time.