rpcpool

package
v0.0.0-...-ffb6f1e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

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

Pool is Sumus RPC connection pool wrapper

func New

func New(cfg *config.Root) (*Pool, func(), error)

New instance

func (*Pool) Conn

func (p *Pool) Conn() (*conn.Conn, *pool.Conn, error)

Conn gets RPC connection or fail

Jump to

Keyboard shortcuts

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