16 lines
326 B
Go
16 lines
326 B
Go
package utils
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
v2 "gitea.timerzz.com/kedaya_haitao/common/structs/v2"
|
|
)
|
|
|
|
func ProviderConfigNotifyChannel(providerId v2.ProviderId) string {
|
|
return fmt.Sprintf("/provider/%s/cfg", providerId)
|
|
}
|
|
|
|
func SellerConfigNotifyChannel(sellerId v2.SellerId) string {
|
|
return fmt.Sprintf("/seller/%s/cfg", sellerId)
|
|
}
|