fonchain-artistinfo/pkg/service/init.go

17 lines
349 B
Go
Raw Normal View History

2023-02-15 01:10:11 +00:00
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)
}