rpc

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPC

type RPC struct {
	DashboardTargetURL string
	NetID              uint `json:"NetID"`
	// contains filtered or unexported fields
}

func NewRPC

func NewRPC(cfg *config.Config) (*RPC, error)

func (*RPC) Attach

func (r *RPC) Attach() (*rpc.Client, error)

func (*RPC) GetApis

func (r *RPC) GetApis(apiModule ...string) []rpc.API

func (*RPC) GetHttpApis

func (r *RPC) GetHttpApis() []rpc.API

Http apis

func (*RPC) GetInProcessApis

func (r *RPC) GetInProcessApis() []rpc.API

In-proc apis

func (*RPC) GetIpcApis

func (r *RPC) GetIpcApis() []rpc.API

Ipc apis

func (*RPC) GetPublicApis

func (r *RPC) GetPublicApis() []rpc.API

func (*RPC) GetWSApis

func (r *RPC) GetWSApis() []rpc.API

WS apis

func (*RPC) StartRPC

func (r *RPC) StartRPC() error

func (*RPC) StopRPC

func (r *RPC) StopRPC()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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