api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by jsonrpc2. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWorker

func RegisterWorker(router *jsonrpc2.Router, wrap internal.Worker) []string

Types

type WorkerClient

type WorkerClient struct {
	BaseURL string
	// contains filtered or unexported fields
}

func Default

func Default() *WorkerClient

func (*WorkerClient) Kill

func (impl *WorkerClient) Kill(ctx context.Context) (reply bool, err error)

func (*WorkerClient) Peers

func (impl *WorkerClient) Peers(ctx context.Context) (reply []string, err error)

Jump to

Keyboard shortcuts

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