rpcenc

package
v1.2.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0, MIT Imports: 18 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Timeout = 30 * time.Second

Functions

func ReaderParamDecoder

func ReaderParamDecoder() (http.HandlerFunc, jsonrpc.ServerOption)

func ReaderParamEncoder

func ReaderParamEncoder(addr string) jsonrpc.Option

Types

type ReaderStream

type ReaderStream struct {
	Type StreamType
	Info string
}

type StreamType

type StreamType string
const (
	Null       StreamType = "null"
	PushStream StreamType = "push"
)

Jump to

Keyboard shortcuts

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