func EscapeComponent(c string) string {
	replacer := strings.NewReplacer("/", "\\/", "\\", "\\\\")
	return replacer.Replace(c)
}
EscapeComponent adds backslash in front of backslash and forward slash.
package queues
import (
	"path"
	"strings"
)