grpc_pool_builder

package
v0.0.0-...-580ec26 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PoolBuilder

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

func (PoolBuilder) Build

func (b PoolBuilder) Build(url string, init int, capacity int, idleTimeout time.Duration) (*grpcpool.Pool, error)

func (PoolBuilder) DialOpts

func (b PoolBuilder) DialOpts(opts ...grpc.DialOption) PoolBuilder

func (PoolBuilder) PoolMaxLifeDuration

func (b PoolBuilder) PoolMaxLifeDuration(maxLifeDuration ...time.Duration) PoolBuilder

Jump to

Keyboard shortcuts

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