constants

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NotificationTaskTopicPrefix = "nf-task"
	NotificationTopicPrefix     = "nf-job"
	MaxWorkingTasks             = 5
	MaxWorkingNotifications     = 5
	MaxTaskRetryTimes           = 3
)
View Source
const (
	DESC = "desc"
	ASC  = "asc"
)
View Source
const (
	DefaultOffset = uint32(0)
	DefaultLimit  = uint32(20)
)
View Source
const (
	NotifyTypeEmail     = "email"
	NotifyTypeWebsocket = "websocket"
	NotifyTypeSms       = "sms"
	NotifyTypeWeChat    = "wechat"
)
View Source
const (
	StatusPending    = "pending"
	StatusSending    = "sending"
	StatusSuccessful = "successful"
	StatusFailed     = "failed"
)
View Source
const (
	StatusActive   = "active"
	StatusDisabled = "disabled"
	StatusDeleted  = "deleted"
)
View Source
const (
	WsService       = "ws_service"
	WsMessageType   = "ws_message_type"
	WsMessagePrefix = "ws"
)
View Source
const (
	ContentFmt       = "content_fmt"
	ContentFmtHtml   = "html"
	ContentFmtNormal = "normal"
)
View Source
const (
	QueueTypeRedis = "redis"
	QueueTypeEtcd  = "etcd"
)
View Source
const (
	DefaultSelectLimit = 200
)
View Source
const (
	ServiceName = "Notification"
)
View Source
const (
	TagName = "json"
)
View Source
const (
	ValidationEmailNotifyTemplate = `` /* 11140-byte string literal not displayed */

)

Variables

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