dqname_windows.go 317 B

1234567891011
  1. //go:build windows
  2. // +build windows
  3. package nsqd
  4. // On Windows, file names cannot contain colons.
  5. func getBackendName(topicName, channelName string) string {
  6. // backend names, for uniqueness, automatically include the topic... <topic>;<channel>
  7. backendName := topicName + ";" + channelName
  8. return backendName
  9. }