Skip to content

Commit f9b20f0

Browse files
author
Sergio Andres Virviescas Santana
committed
Fix typo and license related
1 parent 0298f52 commit f9b20f0

17 files changed

+3
-105
lines changed

HttpRouterLicense

Lines changed: 0 additions & 24 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Copyright (c) 2013 Julien Schmidt
12
Copyright (c) 2015-2016, 招牌疯子
23
Copyright (c) 2018-present Sergio Andres Virviescas Santana, fasthttp
34

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ Router is a lightweight high performance HTTP request router (also called _multi
1010

1111
This router is optimized for high performance and a small memory footprint. It scales well even with very long paths and a large number of routes. A compressing dynamic trie (radix tree) structure is used for efficient matching.
1212

13-
#### License Related
14-
15-
- This repo is based on [httprouter](https://github.com/julienschmidt/httprouter).
16-
- The author of `httprouter` [@julienschmidt](https://github.com/julienschmidt) did almost all the hard work of this router.
17-
- We (fasthttp ecosystem team) respect the laws of open source. So LICENSE of `httprouter` is alway stay here: [HttpRouterLicense](HttpRouterLicense).
13+
Based on [julienschmidt/httprouter](https://github.com/julienschmidt/httprouter).
1814

1915
## Features
2016

doc.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/*
2-
Copyright 2013 Julien Schmidt. All rights reserved.
3-
Copyright 2018-present Sergio Andres Virviescas Santana, fasthttp.
4-
Use of this source code is governed by a BSD-style license that can be found
5-
in the LICENSE file.
2+
Package router is a trie based high performance HTTP request router.
63
74
A trivial example is:
85
@@ -70,6 +67,4 @@ parameter.
7067
To retrieve the value of a parameter,gets by the name of the parameter
7168
user := ctx.UserValue("user") // defined by {user} or {user:*}
7269
*/
73-
74-
// Package router is a trie based high performance HTTP request router.
7570
package router

path.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
// Copyright 2013 Julien Schmidt. All rights reserved.
2-
// Copyright 2018-present Sergio Andres Virviescas Santana, fasthttp.
3-
// Use of this source code is governed by a BSD-style license that can be found
4-
// in the LICENSE file.
5-
6-
// Package router is a trie based high performance HTTP request router.
71
package router
82

93
import "github.com/savsgio/gotils"

path_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
// Copyright 2013 Julien Schmidt. All rights reserved.
2-
// Copyright 2018-present Sergio Andres Virviescas Santana, fasthttp.
3-
// Use of this source code is governed by a BSD-style license that can be found
4-
// in the LICENSE file.
5-
6-
// Package router is a trie based high performance HTTP request router.
71
package router
82

93
import (

radix/conts.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Copyright 2020-present Sergio Andres Virviescas Santana, fasthttp
2-
// Use of this source code is governed by a BSD-style license that can be found
3-
// in the LICENSE file.
4-
5-
// Package radix is a high performance HTTP routes storage.
61
package radix
72

83
const stackBufSize = 128

radix/node.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Copyright 2020-present Sergio Andres Virviescas Santana, fasthttp
2-
// Use of this source code is governed by a BSD-style license that can be found
3-
// in the LICENSE file.
4-
5-
// Package radix is a high performance HTTP routes storage.
61
package radix
72

83
import (

radix/node_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Copyright 2020-present Sergio Andres Virviescas Santana, fasthttp
2-
// Use of this source code is governed by a BSD-style license that can be found
3-
// in the LICENSE file.
4-
5-
// Package radix is a high performance HTTP routes storage.
61
package radix
72

83
import (

radix/tree.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Copyright 2020-present Sergio Andres Virviescas Santana, fasthttp
2-
// Use of this source code is governed by a BSD-style license that can be found
3-
// in the LICENSE file.
4-
5-
// Package radix is a high performance HTTP routes storage.
61
package radix
72

83
import (

0 commit comments

Comments
 (0)