diff --git a/bittorrent/bittorrent.go b/bittorrent/bittorrent.go index 20c9b66..eb18451 100644 --- a/bittorrent/bittorrent.go +++ b/bittorrent/bittorrent.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - // Package bittorrent implements all of the abstractions used to decouple the // protocol of a BitTorrent tracker from the logic of handling Announces and // Scrapes. diff --git a/bittorrent/client_id.go b/bittorrent/client_id.go index 6aab52c..b50be80 100644 --- a/bittorrent/client_id.go +++ b/bittorrent/client_id.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bittorrent // ClientID represents the part of a PeerID that identifies a Peer's client diff --git a/bittorrent/client_id_test.go b/bittorrent/client_id_test.go index 956d0fc..126f701 100644 --- a/bittorrent/client_id_test.go +++ b/bittorrent/client_id_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bittorrent import "testing" diff --git a/bittorrent/event.go b/bittorrent/event.go index e5991e6..2c68ce2 100644 --- a/bittorrent/event.go +++ b/bittorrent/event.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bittorrent import ( diff --git a/bittorrent/event_test.go b/bittorrent/event_test.go index 0ce7944..637f69b 100644 --- a/bittorrent/event_test.go +++ b/bittorrent/event_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bittorrent import ( diff --git a/frontend/http/bencode/bencode.go b/frontend/http/bencode/bencode.go index 7985adc..c08bda1 100644 --- a/frontend/http/bencode/bencode.go +++ b/frontend/http/bencode/bencode.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - // Package bencode implements bencoding of data as defined in BEP 3 using // type assertion over reflection for performance. package bencode diff --git a/frontend/http/bencode/decoder.go b/frontend/http/bencode/decoder.go index dba087f..a12f9b6 100644 --- a/frontend/http/bencode/decoder.go +++ b/frontend/http/bencode/decoder.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bencode import ( diff --git a/frontend/http/bencode/decoder_test.go b/frontend/http/bencode/decoder_test.go index 375b69a..485a47a 100644 --- a/frontend/http/bencode/decoder_test.go +++ b/frontend/http/bencode/decoder_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bencode import ( diff --git a/frontend/http/bencode/encoder.go b/frontend/http/bencode/encoder.go index bd8701c..f6f1095 100644 --- a/frontend/http/bencode/encoder.go +++ b/frontend/http/bencode/encoder.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bencode import ( diff --git a/frontend/http/bencode/encoder_test.go b/frontend/http/bencode/encoder_test.go index c432208..bbd89b1 100644 --- a/frontend/http/bencode/encoder_test.go +++ b/frontend/http/bencode/encoder_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package bencode import ( diff --git a/frontend/http/frontend.go b/frontend/http/frontend.go index 41b64ab..f21ddf5 100644 --- a/frontend/http/frontend.go +++ b/frontend/http/frontend.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - // Package http implements a BitTorrent frontend via the HTTP protocol as // described in BEP 3 and BEP 23. package http diff --git a/frontend/http/parser.go b/frontend/http/parser.go index a43742e..823fe25 100644 --- a/frontend/http/parser.go +++ b/frontend/http/parser.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/frontend/http/query_params.go b/frontend/http/query_params.go index 5607e3e..525b8e3 100644 --- a/frontend/http/query_params.go +++ b/frontend/http/query_params.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/frontend/http/query_params_test.go b/frontend/http/query_params_test.go index 0d96fa5..ec9a0d0 100644 --- a/frontend/http/query_params_test.go +++ b/frontend/http/query_params_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/frontend/http/writer.go b/frontend/http/writer.go index 36ea1cd..0d1b100 100644 --- a/frontend/http/writer.go +++ b/frontend/http/writer.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/frontend/http/writer_test.go b/frontend/http/writer_test.go index e8a5d31..522bd5f 100644 --- a/frontend/http/writer_test.go +++ b/frontend/http/writer_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/frontend/udp/bytepool/bytepool.go b/frontend/udp/bytepool/bytepool.go index 1808687..f4ec893 100644 --- a/frontend/udp/bytepool/bytepool.go +++ b/frontend/udp/bytepool/bytepool.go @@ -1,7 +1,3 @@ -// Copyright 2016 The Chihaya Authors. All rights reserved. -// Use of this source code is governed by the BSD 2-Clause license, -// which can be found in the LICENSE file. - package bytepool import "sync" diff --git a/frontend/udp/connection_id.go b/frontend/udp/connection_id.go index 944f4d8..0ba7253 100644 --- a/frontend/udp/connection_id.go +++ b/frontend/udp/connection_id.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package udp import ( diff --git a/frontend/udp/connection_id_test.go b/frontend/udp/connection_id_test.go index 776b61f..0291122 100644 --- a/frontend/udp/connection_id_test.go +++ b/frontend/udp/connection_id_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package udp import ( diff --git a/frontend/udp/frontend.go b/frontend/udp/frontend.go index 44c5552..5a4a6b9 100644 --- a/frontend/udp/frontend.go +++ b/frontend/udp/frontend.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - // Package udp implements a BitTorrent tracker via the UDP protocol as // described in BEP 15. package udp diff --git a/frontend/udp/parser.go b/frontend/udp/parser.go index 31ca9d8..c771a42 100644 --- a/frontend/udp/parser.go +++ b/frontend/udp/parser.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package udp import ( diff --git a/frontend/udp/writer.go b/frontend/udp/writer.go index 211635f..6f04d9e 100644 --- a/frontend/udp/writer.go +++ b/frontend/udp/writer.go @@ -1,17 +1,3 @@ -// Copyright 2016 Jimmy Zelinskie -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package udp import (