github.com/nsqio/nsq@v1.3.0/nsqd/dqname_windows.go (about)

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