17 lines
349 B
Go
17 lines
349 B
Go
package service
|
|
|
|
import (
|
|
"dubbo.apache.org/dubbo-go/v3/config"
|
|
"github.com/fonchain-artwork/pb/artist"
|
|
"github.com/fonchain-artwork/pb/chain"
|
|
)
|
|
|
|
var GrpcArtistImpl = new(artist.ArtistClientImpl)
|
|
|
|
var GrpcChainImpl = new(chain.ChainClientImpl)
|
|
|
|
func init() {
|
|
config.SetConsumerService(GrpcArtistImpl)
|
|
config.SetConsumerService(GrpcChainImpl)
|
|
}
|