api

package
v0.0.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIs

func APIs(modulesHub types.ModulesHub) rpc.APISet

APIs returns all API handlers

Types

type ChainAPI

type ChainAPI struct {
	// contains filtered or unexported fields
}

ChainAPI provides APIs for accessing blockchain information

func NewChainAPI

func NewChainAPI(mods *types2.Modules) *ChainAPI

NewChainAPI creates an instance of ChainAPI

func (*ChainAPI) APIs

func (c *ChainAPI) APIs() rpc.APISet

APIs returns all API handlers

type DHTAPI

type DHTAPI struct {
	// contains filtered or unexported fields
}

DHTAPI provides APIs for accessing the DHT service

func NewDHTAPI

func NewDHTAPI(mods *modtypes.Modules) *DHTAPI

NewDHTAPI creates an instance of DHTAPI

func (*DHTAPI) APIs

func (c *DHTAPI) APIs() rpc.APISet

APIs returns all API handlers

type Manager

type Manager struct {
}

Manager provides RPC service management functionality.

func NewRPCManagerAPI

func NewRPCManagerAPI() *Manager

NewRPCManagerAPI creates an instance of Manager

func (*Manager) APIs

func (l *Manager) APIs() rpc.APISet

APIs returns all API handlers

type NamespaceAPI

type NamespaceAPI struct {
	// contains filtered or unexported fields
}

NamespaceAPI provides APIs for accessing the DHT service

func NewNamespaceAPI

func NewNamespaceAPI(mods *modtypes.Modules) *NamespaceAPI

NewNamespaceAPI creates an instance of NamespaceAPI

func (*NamespaceAPI) APIs

func (c *NamespaceAPI) APIs() rpc.APISet

APIs returns all API handlers

type PoolAPI

type PoolAPI struct {
	// contains filtered or unexported fields
}

PoolAPI provides APIs for accessing the mempool and pushpool

func NewPoolAPI

func NewPoolAPI(mods *modtypes.Modules) *PoolAPI

NewPoolAPI creates an instance of PoolAPI

func (*PoolAPI) APIs

func (c *PoolAPI) APIs() rpc.APISet

APIs returns all API handlers

type PushKeyAPI

type PushKeyAPI struct {
	// contains filtered or unexported fields
}

PushKeyAPI provides RPC methods for various push key functionality.

func NewPushKeyAPI

func NewPushKeyAPI(mods *modulestypes.Modules) *PushKeyAPI

NewPushKeyAPI creates an instance of PushKeyAPI

func (*PushKeyAPI) APIs

func (a *PushKeyAPI) APIs() rpc.APISet

APIs returns all API handlers

type RepoAPI

type RepoAPI struct {
	// contains filtered or unexported fields
}

RepoAPI provides RPC methods for various repo related functionalities.

func NewRepoAPI

func NewRepoAPI(mods *modulestypes.Modules) *RepoAPI

NewRepoAPI creates an instance of RepoAPI

func (*RepoAPI) APIs

func (a *RepoAPI) APIs() rpc.APISet

APIs returns all API handlers

type TicketAPI

type TicketAPI struct {
	// contains filtered or unexported fields
}

TicketAPI provides RPC methods for purchasing and managing tickets.

func NewTicketAPI

func NewTicketAPI(mods *modulestypes.Modules) *TicketAPI

NewTicketAPI creates an instance of TicketAPI

func (*TicketAPI) APIs

func (a *TicketAPI) APIs() rpc.APISet

APIs returns all API handlers

type TransactionAPI

type TransactionAPI struct {
	// contains filtered or unexported fields
}

TransactionAPI provides RPC methods for various local account management functionality.

func NewTransactionAPI

func NewTransactionAPI(mods *types2.Modules) *TransactionAPI

NewTransactionAPI creates an instance of TransactionAPI

func (*TransactionAPI) APIs

func (t *TransactionAPI) APIs() rpc.APISet

APIs returns all API handlers

type UserAPI

type UserAPI struct {
	// contains filtered or unexported fields
}

UserAPI provides RPC methods for various user-related operations.

func NewUserAPI

func NewUserAPI(mods *modtypes.Modules) *UserAPI

NewUserAPI creates an instance of UserAPI

func (*UserAPI) APIs

func (u *UserAPI) APIs() rpc.APISet

APIs returns all API handlers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL