dqname.go 270 B

12345678910
  1. //go:build !windows
  2. // +build !windows
  3. package nsqd
  4. func getBackendName(topicName, channelName string) string {
  5. // backend names, for uniqueness, automatically include the topic... <topic>:<channel>
  6. backendName := topicName + ":" + channelName
  7. return backendName
  8. }