open-im-server
open-im-server copied to clipboard
GetPrefix和GetPrefix4Unique这两个方法内容一模一样 一个不就够了 为什么要来两个
// "%s:///%s/" func GetPrefix(schema, serviceName string) string { return fmt.Sprintf("%s:///%s/", schema, serviceName) }
// "%s:///%s" func GetPrefix4Unique(schema, serviceName string) string { return fmt.Sprintf("%s:///%s", schema, serviceName) }