Skip to content

Sample implementation of enhanced http.ServeMux routing patterns.

License

Notifications You must be signed in to change notification settings

jba/muxpatterns

Repository files navigation

muxpatterns

This repo holds a sample implementation of the enhanced http.ServeMux routing patterns that are being discussed at golang/go#60227.

The ServeMux type should behave like http.ServeMux with the additional features described in the discussion top post.

The Pattern type is used internally. It is exported here for experimentation.

The DescribeRelationship function will not be part of the proposed API, but it can help in understanding how patterns are related.

About

Sample implementation of enhanced http.ServeMux routing patterns.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages