transports

package
v0.0.0-...-8e4544a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallCloser

type CallCloser interface {
	Caller
	io.Closer
}

CallCloser network transport interface

type Caller

type Caller interface {
	Call(method string, args []interface{}, reply interface{}) error
	SetCallback(api string, method string, callback func(raw json.RawMessage)) error
}

Caller interface for sending a request to a network transport

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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