func (ui *unaryServerInterceptor) AddInterceptor(arr ...UnaryServerInterceptor) UnaryServerInterceptor {
	ui.lock.Lock()
	defer ui.lock.Unlock()
	for _, i := range arr {
		ui.interceptors = append(ui.interceptors, i.Interceptor())
	}
	return ui
}
// AddInterceptor is a convenient way for adding `UnaryServerInterceptor`
// to the chain of interceptors. It only calls the method `Interceptor`
// for each of them and append the return value to the chain.
AddInterceptor is a convenient way for adding `UnaryServerInterceptor`
to the chain of interceptors. It only calls the method `Interceptor`
for each of them and append the return value to the chain.
// AddInterceptor is a convenient way for adding ` UnaryServerInterceptor ` // to the chain of interceptors . It only calls the method ` Interceptor ` // for each of them and append the return value to the chain .
func (ui *unaryServerInterceptor) AddInterceptor(arr ...UnaryServerInterceptor) UnaryServerInterceptor {
	ui.lock.Lock()
	defer ui.lock.Unlock()
	for _, i := range arr {
		ui.interceptors = append(ui.interceptors, i.Interceptor())
	}
	return ui
}
func ( ui * unaryServerInterceptor ) AddInterceptor ( arr ... UnaryServerInterceptor ) UnaryServerInterceptor { ui . lock . Lock ( ) defer ui . lock . Unlock ( ) for _ , i := range arr { ui . interceptors = append ( ui . interceptors , i . Interceptor ( ) ) } return ui }
AddInterceptor is a convenient way for adding `UnaryServerInterceptor`
to the chain of interceptors.
AddInterceptor is a convenient way for adding ` UnaryServerInterceptor ` to the chain of interceptors .