constant

package
v0.0.0-...-c780586 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RabbitURL : rabbitmq服务的入口url
	RabbitURL = "amqp://guest:guest@127.0.0.1:5672/"
	// 是否开启文件异步转移(默认同步)
	AsyncTransferEnable = true
	//  用于文件transfer的交换机
	TransExchangeName = "uploadserver.trans"
	//  oss转移队列名
	TransOSSQueueName = "uploadserver.trans.oss"
	//  oss转移失败后写入另一个队列的队列名
	TransOSSErrQueueName = "uploadserver.trans.oss.err"
	// routingkey
	TransOSSRoutingKey = "oss"
)
View Source
const (
	TODO = iota
	DOING
	DONE
	CLOSE
)
View Source
const (
	// 任务接收消息模板ID
	TemplateReceiveTaskId = "YWAd-Djf_hURHmf1HMobGSrd8AD53j_IoBJ35tffkPQ"
	// redis存储AccessToken前缀
	RedisPrefixAccessToken = "todo:accessToken:%s"
	// redis存储formID前缀
	RedisPrefixFormId = "todo:formID:%s"
	// 收集的用户的formID,OpenID
	CollectionFormIdPrefix = "formIds:%s"
	// 收集的用户的formID的过期时间
	UserFormIdExpire = 7 * 24 * time.Hour
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL