Documentation ¶
Index ¶
- type API
- func (api *API) CallRPC(inputJSON string) (string, error)
- func (api *API) RecallDAppPermission(origin string) error
- func (api *API) RequestAccountsAccepted(args commands.RequestAccountsAcceptedArgs) error
- func (api *API) RequestAccountsRejected(args commands.RejectedArgs) error
- func (api *API) SendTransactionAccepted(args commands.SendTransactionAcceptedArgs) error
- func (api *API) SendTransactionRejected(args commands.RejectedArgs) error
- type CommandRegistry
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) RecallDAppPermission ¶ added in v0.182.37
func (*API) RequestAccountsAccepted ¶ added in v0.182.37
func (api *API) RequestAccountsAccepted(args commands.RequestAccountsAcceptedArgs) error
func (*API) RequestAccountsRejected ¶ added in v0.182.37
func (api *API) RequestAccountsRejected(args commands.RejectedArgs) error
func (*API) SendTransactionAccepted ¶ added in v0.182.37
func (api *API) SendTransactionAccepted(args commands.SendTransactionAcceptedArgs) error
func (*API) SendTransactionRejected ¶ added in v0.182.37
func (api *API) SendTransactionRejected(args commands.RejectedArgs) error
type CommandRegistry ¶ added in v0.182.35
type CommandRegistry struct {
// contains filtered or unexported fields
}
func NewCommandRegistry ¶ added in v0.182.35
func NewCommandRegistry() *CommandRegistry
func (*CommandRegistry) GetCommand ¶ added in v0.182.35
func (r *CommandRegistry) GetCommand(method string) (commands.RPCCommand, bool)
func (*CommandRegistry) Register ¶ added in v0.182.35
func (r *CommandRegistry) Register(method string, command commands.RPCCommand)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(db *sql.DB, rpc commands.RPCClientInterface, nm commands.NetworkManagerInterface) *Service
Click to show internal directories.
Click to hide internal directories.