middleware

package
v0.0.0-...-9a5b211 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchMethodOrResource

func MatchMethodOrResource(pattern, input string) bool

func SplitFullMethod

func SplitFullMethod(fullMethod string) (service string, method string, ok bool)

Types

type Factory

type Factory map[string]func(*anypb.Any, *zap.Logger, tally.Scope) (Middleware, error)

type Middleware

type Middleware interface {
	UnaryInterceptor() grpc.UnaryServerInterceptor
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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