1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 04:51:56 +00:00

Add the new license , here and at iris-contrib repositories also (where needed)

This commit is contained in:
Makis Maropoulos
2016-06-26 08:25:05 +03:00
parent 25c8e733a8
commit cd71b945b7
6 changed files with 684 additions and 22 deletions

View File

@@ -665,6 +665,9 @@ func getParamsLen(path string) uint8 {
return uint8(n)
}
//
// Copyright (c) 2013 Julien Schmidt, Copyright (c) 2016 Gerasimos Maropoulos All rights reserved.
//
// add adds a muxEntry to the existing muxEntry or to the tree if no muxEntry has the prefix of
func (e *muxEntry) add(path string, middleware Middleware) error {
fullPath := path
@@ -1005,6 +1008,10 @@ func (e *muxEntry) precedenceTo(index int) int {
return newindex
}
//
//
//
type (
// Route contains some useful information about a route
Route interface {