add wrap call comment

This commit is contained in:
Asim Aslam 2018-12-01 11:10:37 +00:00
parent 92082ac927
commit 1be0e8776f

View File

@ -174,6 +174,7 @@ func RegisterInterval(t time.Duration) Option {
// WrapClient is a convenience method for wrapping a Client with
// some middleware component. A list of wrappers can be provided.
// Wrappers are applied in reverse order so the last is executed first.
func WrapClient(w ...client.Wrapper) Option {
return func(o *Options) {
// apply in reverse