grpc

package
v0.0.0-...-b804f52 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MulanPSL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(name string) *grpc.ClientConn

Types

type Config

type Config struct {
	Name        string
	Address     string
	Block       bool
	DialTimeout time.Duration
	ReadTimeout time.Duration
	KeepAlive   *keepalive.ClientParameters

	SlowThreshold time.Duration
	Debug         bool
	// contains filtered or unexported fields
}

Config ...

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig ...

Jump to

Keyboard shortcuts

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