Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockAPIService ¶
func NewBlockAPIService(network *models.NetworkIdentifier) server.BlockAPIServicer
NewBlockAPIService creates a new instance of a BlockAPIService.
func NewNetworkAPIService ¶
func NewNetworkAPIService(network *models.NetworkIdentifier) server.NetworkAPIServicer
NewNetworkAPIService creates a new instance of a NetworkAPIService.
Types ¶
type BlockAPIService ¶
type BlockAPIService struct {
// contains filtered or unexported fields
}
BlockAPIService implements the server.BlockAPIServicer interface.
func (*BlockAPIService) Block ¶
func (s *BlockAPIService) Block( request *models.BlockRequest, ) (*models.BlockResponse, *models.Error)
Block implements the /block endpoint.
func (*BlockAPIService) BlockTransaction ¶
func (s *BlockAPIService) BlockTransaction( request *models.BlockTransactionRequest, ) (*models.BlockTransactionResponse, *models.Error)
BlockTransaction implements the /block/transaction endpoint.
type NetworkAPIService ¶
type NetworkAPIService struct {
// contains filtered or unexported fields
}
NetworkAPIService implements the server.NetworkAPIServicer interface.
func (*NetworkAPIService) NetworkStatus ¶
func (s *NetworkAPIService) NetworkStatus( *models.NetworkStatusRequest, ) (*models.NetworkStatusResponse, *models.Error)
NetworkStatus implements the /network/status endpoint.
Click to show internal directories.
Click to hide internal directories.