grpc

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 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