interceptor

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default(in DefaultInput) []grpc.ServerOption

Default returns a list of interceptors usually used by most applications. It includes: - Disaster Recovery (from panics) - Traces - Metrics - Request Logging - Error Handling

Types

type DefaultInput added in v0.2.0

type DefaultInput struct {
	ApplicationName string
	Logger          logging.Logger
}

DefaultInput encapsulates inputs to a Default call.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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