Hi golang-nuts -

This is an abstraction that we needed at ngrok. It allows you to
intermediate calls to a database/sql Driver just like a client-side grpc
interceptor would. This makes it an excellent abstraction layer upon which
to build instrumentation and other middleware-like functionality.

There are a number of similar projects which provided instrumentation for
logging/tracing and a few others that were aimed solely at providing
callbacks for instrumentation, but I realized a more general-purpose
abstraction would provide more power to the programmer by providing the
ability to intercept and modify calls and return values.

Hope it's helpful to others. Feedback appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAEn9ByGbufnpDXG9BEZ%3DgmAU8YzKwis%2BJa_sJEBxLpqF-FqQdQ%40mail.gmail.com.

Reply via email to