Skip to content

Instantly share code, notes, and snippets.

@ATmega8
ATmega8 / rebuild.md
Last active August 7, 2020 02:26
buildroot rebuild
<?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 October 20, 2018 08:18 — forked from simpleton/consumer.go
Golang auto-reconnect rabbitmq consumer
package base
import (
"errors"
"fmt"
"github.com/manucorporat/try"
"github.com/simpleton/beego"
"github.com/streadway/amqp"
"math/rand"
"model/helper"