proxy

package
v0.0.0-...-98b6286 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: GPL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

func NewProxy

func NewProxy(cfg *config.Config) (p *Proxy)

func (*Proxy) GetURI

func (proxy *Proxy) GetURI() string

func (*Proxy) MICall

func (proxy *Proxy) MICall(command string, params interface{}, fn mi.MIreply) error

func (*Proxy) MICallSync

func (proxy *Proxy) MICallSync(command string, params interface{}) (*jsonrpc.JsonRPCResponse, error)

func (*Proxy) Subscribe

func (proxy *Proxy) Subscribe(event string, notify event.EventNotification) event.Subscription

func (*Proxy) SubscribeFilter

func (proxy *Proxy) SubscribeFilter(event string, notify event.EventNotification, filter map[string]interface{}) event.Subscription

Jump to

Keyboard shortcuts

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