func GetServerInterceptor(index string) grpcmw.ServerInterceptor {
	serverLock.Lock()
	defer serverLock.Unlock()
	intcp, ok := serverRegistry[index]
	if !ok {
		intcp = grpcmw.NewServerInterceptor(index)
		serverRegistry[index] = intcp
	}
	return intcp
}
// GetServerInterceptor returns the `grpcmw.ServerInterceptor` registered at
// `index`. If nothing is at this `index`, it registers a new one using
// `grpcmw.NewServerInterceptor` and returns it.
// This is thread-safe.
GetServerInterceptor returns the `grpcmw.ServerInterceptor` registered at
`index`. If nothing is at this `index`, it registers a new one using
`grpcmw.NewServerInterceptor` and returns it.
This is thread-safe.
// GetServerInterceptor returns the ` grpcmw . ServerInterceptor ` registered at // ` index ` . If nothing is at this ` index ` it registers a new one using // ` grpcmw . NewServerInterceptor ` and returns it . // This is thread - safe .
func GetServerInterceptor(index string) grpcmw.ServerInterceptor {
	serverLock.Lock()
	defer serverLock.Unlock()
	intcp, ok := serverRegistry[index]
	if !ok {
		intcp = grpcmw.NewServerInterceptor(index)
		serverRegistry[index] = intcp
	}
	return intcp
}
func GetServerInterceptor ( index string ) grpcmw . ServerInterceptor { serverLock . Lock ( ) defer serverLock . Unlock ( ) intcp , ok := serverRegistry [ index ] if ! ok { intcp = grpcmw . NewServerInterceptor ( index ) serverRegistry [ index ] = intcp } return intcp }
GetServerInterceptor returns the `grpcmw.ServerInterceptor` registered at
`index`.
GetServerInterceptor returns the ` grpcmw . ServerInterceptor ` registered at ` index ` .