grpc

package
v1.16.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func DialLocal added in v1.13.2

func DialLocal(ctx context.Context, cfg *config.Config) (*grpc.ClientConn, error)

DialLocal to the gRPC server. This is used for gRPC Gateway mostly.

func NewServer

func NewServer(lc fx.Lifecycle, cfg *config.Config, logger *zap.Logger) *grpc.Server

NewServer for gRPC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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