2023-02-15 01:10:11 +00:00
|
|
|
package service
|
|
|
|
|
|
|
|
import (
|
|
|
|
"dubbo.apache.org/dubbo-go/v3/config"
|
2023-02-23 13:45:59 +00:00
|
|
|
"github.com/fonchain/fonchain-artistinfo/pb/account"
|
2023-02-20 04:51:50 +00:00
|
|
|
"github.com/fonchain/fonchain-artistinfo/pb/artist"
|
2023-02-15 01:10:11 +00:00
|
|
|
)
|
|
|
|
|
2023-02-23 13:45:59 +00:00
|
|
|
var (
|
|
|
|
GrpcArtistImpl = new(artist.ArtistClientImpl)
|
|
|
|
AccountImpl = new(account.AccountClientImpl)
|
|
|
|
)
|
2023-02-15 01:10:11 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
config.SetConsumerService(GrpcArtistImpl)
|
2023-02-23 13:45:59 +00:00
|
|
|
config.SetConsumerService(AccountImpl)
|
2023-02-15 01:10:11 +00:00
|
|
|
}
|