Skip to content

Commit

Permalink
again update the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Asim committed May 31, 2016
1 parent 7165276 commit d61203e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/README.md
Expand Up @@ -36,6 +36,10 @@ type Manager interface {
Plugins() map[string]Plugin
Register(name string, plugin Plugin) error
}

// Handler is the plugin middleware handler which wraps an existing http.Handler passed in.
// Its the responsibility of the Handler to call the next http.Handler in the chain.
type Handler func(http.Handler) http.Handler
```

## How to use it
Expand Down

0 comments on commit d61203e

Please sign in to comment.