Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewBlockService, mongodbx.NewBlockRepo, )
ProviderSet is used to provide a new model.BlockServiceServer
Functions ¶
func NewBlockService ¶
func NewBlockService( tonClient *tonx.Client, blocks repo.IBlockRepo, ) biz.BlockServiceServer
NewBlockService is used to create a new block service
func NewBlockServiceClient ¶
func NewBlockServiceClient(client *grpcx.Client) (biz.BlockServiceClient, error)
NewBlockServiceClient is used to create a new block service tonClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.