grpc

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer added in v1.34.0

func NewServer(addr string, config *tls.Config) (*grpc.Server, error)

NewServer creates and starts a gRPC server. The caller should call Stop when finished.

func NewStreamDialer added in v1.33.0

func NewStreamDialer(addr string, cfg *tls.Config) *streamDialer

NewStreamDialer creates a transport.StreamDialer that connects to the specified gRPC server address. The caller should call Close when finished, to close the underlying connections.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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