connector

package
v0.182.40 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 NewAPI

func NewAPI(s *Service) *API

func (*API) CallRPC

func (api *API) CallRPC(inputJSON string) (string, error)

func (*API) RecallDAppPermission added in v0.182.37

func (api *API) RecallDAppPermission(origin string) error

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 (*Service) APIs

func (s *Service) APIs() []gethrpc.API

func (*Service) Protocols

func (s *Service) Protocols() []p2p.Protocol

func (*Service) Start

func (s *Service) Start() error

func (*Service) Stop

func (s *Service) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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