grpc

package
v4.2.713+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGRPCLogger

func SetGRPCLogger(logger *zap.Logger)

SetGRPCLogger replace logger that used by grpc

Types

type Config

type Config struct {
	Log log.Config `mapstructure:"log"`
}

Config defines configuration of GRPC protocol

func NewDefaultConfig

func NewDefaultConfig() Config

NewDefaultConfig returns default configuration of GRPC protocol

Jump to

Keyboard shortcuts

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