natsio/subject/queue.go

14 lines
218 B
Go
Raw Permalink Normal View History

2022-12-26 08:12:48 +00:00
package subject
import "fmt"
func getQueueValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Queue, val)
}
var Queue = struct {
ScheduleTask string
}{
ScheduleTask: getQueueValue("schedule_task"),
}