Documentation ¶
Index ¶
- func GetGrpcService() *grpcService
- func Server()
- type BtcRpcManager
- func (s *BtcRpcManager) CreateMultiSig(ctx context.Context, in *pb.CreateMultiSigRequest) (reply *pb.AddressReply, err error)
- func (s *BtcRpcManager) GetBlockCount(ctx context.Context, in *pb.EmptyRequest) (reply *pb.BlockCountReply, err error)
- func (s *BtcRpcManager) GetMiningInfo(ctx context.Context, in *pb.EmptyRequest) (reply *pb.MiningInfoReply, err error)
- func (s *BtcRpcManager) GetNewAddress(ctx context.Context, in *pb.AddressRequest) (reply *pb.AddressReply, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGrpcService ¶
func GetGrpcService() *grpcService
Types ¶
type BtcRpcManager ¶
type BtcRpcManager struct{}
func (*BtcRpcManager) CreateMultiSig ¶
func (s *BtcRpcManager) CreateMultiSig(ctx context.Context, in *pb.CreateMultiSigRequest) (reply *pb.AddressReply, err error)
func (*BtcRpcManager) GetBlockCount ¶
func (s *BtcRpcManager) GetBlockCount(ctx context.Context, in *pb.EmptyRequest) (reply *pb.BlockCountReply, err error)
func (*BtcRpcManager) GetMiningInfo ¶
func (s *BtcRpcManager) GetMiningInfo(ctx context.Context, in *pb.EmptyRequest) (reply *pb.MiningInfoReply, err error)
func (*BtcRpcManager) GetNewAddress ¶
func (s *BtcRpcManager) GetNewAddress(ctx context.Context, in *pb.AddressRequest) (reply *pb.AddressReply, err error)
Click to show internal directories.
Click to hide internal directories.