Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 1, 2017
1 parent 04b7b62 commit f5c5a44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FastRouter is a fast, flexible HTTP router written in Go.

FastRouter exports options to custom router, such as `TrailingSlashesPolicy`, `PanicHandler`, `OptionsHandler`,
FastRouter contains some customizable options, such as `TrailingSlashesPolicy`, `PanicHandler`, `OptionsHandler`,
`MethodNotAllowedHandler`, `NotFoundHandler` and so on.

FastRouter also provides some useful features, such as **grouping** and **middleware**.
Expand All @@ -16,8 +16,8 @@ FastRouter also provides some useful features, such as **grouping** and **middle

**Fast**: See [Benchmark](#benchmark)

**Flexible**: FastRouter export some useful options for you:
- TrailingSlashesPolicy: there are four policies available:
**Flexible**: FastRouter provides some customizable options for you:
- TrailingSlashesPolicy:
- IgnoreTrailingSlashes: ignore trailing slashes.
- AppendTrailingSlashes: append trailing slashes and redirect if request path is not end with '/'.
- RemoveTrailingSlashes: remove trailing slashes and redirect if request path is end with '/'.
Expand Down

0 comments on commit f5c5a44

Please sign in to comment.