1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/snail-wmq-go

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
config.toml 1.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
arraykeys@gmail.com Отправлено 22.08.2017 11:36 6378fb9
[listen]
api = "0.0.0.0:3302"
publish = "0.0.0.0:3303"
[api]
#disable or not api service
disable = false
#access api token
token = "guest"
[publish]
#these http headers will be ignored when access to consumer's url
#Headers : "User-Agent Token RouteKey Host Expect Accept-Encoding Content-Length Connection" will be ignored by force
IgnoreHeaders = []
#the publisher's real ip will be set in this http header when access to consumer's url
RealIpHeader = "X-Forwarded-For"
[consume]
#access consumer url fail and then how many seconds to sleep and retry
FailWait = 50
#consumer's goroutine occur error and then how many seconds to sleep and retry
GoFailWait = 3
DataFile = "message.json"
[rabbitmq]
host = "127.0.0.1"
port = 5672
username = "guest"
password = "guest"
vhost = "/"
#the queue and exchange default prefix
prefix = "wmq."
[log]
#which level log to file,default:["info","error","debug"]
level = ["info","error","debug"]
dir = "log"
#log file max size(bytes) for rotate
FileMaxSize = 102400000
#log file max count for rotate to remain
MaxCount = 3
#access log on or off
access = true
#log post data on or off
post = false

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/snail-wmq-go.git
git@api.gitlife.ru:oschina-mirror/snail-wmq-go.git
oschina-mirror
snail-wmq-go
snail-wmq-go
master