From 59b6d8f9e45da9ec46be7c53631553a5408910c9 Mon Sep 17 00:00:00 2001 From: lowzj Date: Fri, 1 Feb 2019 16:12:42 +0800 Subject: [PATCH] fix: update copyright to Dragonfly Authors Signed-off-by: lowzj --- cmd/dfdaemon/app/gen_doc.go | 16 +++++++++++++ cmd/dfdaemon/app/options/options.go | 16 +++++++++++++ cmd/dfdaemon/app/root.go | 16 +++++++++++++ cmd/dfdaemon/main.go | 28 ++++++++++++---------- cmd/dfget/app/gen_doc.go | 16 +++++++++++++ cmd/dfget/app/root.go | 16 +++++++++++++ cmd/dfget/app/root_test.go | 16 +++++++++++++ cmd/dfget/app/version.go | 16 +++++++++++++ dfdaemon/constant/code.go | 28 ++++++++++++---------- dfdaemon/downloader/dfget/dfget.go | 28 ++++++++++++---------- dfdaemon/downloader/downloader.go | 28 ++++++++++++---------- dfdaemon/exception/errors.go | 28 ++++++++++++---------- dfdaemon/global/global.go | 28 ++++++++++++---------- dfdaemon/handler/debug_handler.go | 28 ++++++++++++---------- dfdaemon/handler/env_handler.go | 28 ++++++++++++---------- dfdaemon/handler/param_handler.go | 28 ++++++++++++---------- dfdaemon/handler/root_handler.go | 28 ++++++++++++---------- dfdaemon/handler/transport.go | 28 ++++++++++++---------- dfdaemon/initializer/atime_darwin_amd64.go | 16 +++++++++++++ dfdaemon/initializer/atime_linux_amd64.go | 16 +++++++++++++ dfdaemon/initializer/initializer.go | 28 ++++++++++++---------- dfdaemon/muxconf/muxconf.go | 28 ++++++++++++---------- dfdaemon/util/netutil.go | 28 ++++++++++++---------- dfdaemon/util/urlutil.go | 28 ++++++++++++---------- 24 files changed, 369 insertions(+), 195 deletions(-) diff --git a/cmd/dfdaemon/app/gen_doc.go b/cmd/dfdaemon/app/gen_doc.go index a683903cd..e8579611a 100644 --- a/cmd/dfdaemon/app/gen_doc.go +++ b/cmd/dfdaemon/app/gen_doc.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 app import ( diff --git a/cmd/dfdaemon/app/options/options.go b/cmd/dfdaemon/app/options/options.go index c8464b217..efd9d52e7 100644 --- a/cmd/dfdaemon/app/options/options.go +++ b/cmd/dfdaemon/app/options/options.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 options import ( diff --git a/cmd/dfdaemon/app/root.go b/cmd/dfdaemon/app/root.go index 05771ccf1..33fd2b0a6 100644 --- a/cmd/dfdaemon/app/root.go +++ b/cmd/dfdaemon/app/root.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 app import ( diff --git a/cmd/dfdaemon/main.go b/cmd/dfdaemon/main.go index 39eb6a248..0fe43ac12 100644 --- a/cmd/dfdaemon/main.go +++ b/cmd/dfdaemon/main.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 main diff --git a/cmd/dfget/app/gen_doc.go b/cmd/dfget/app/gen_doc.go index b07c26dd6..4c9919930 100644 --- a/cmd/dfget/app/gen_doc.go +++ b/cmd/dfget/app/gen_doc.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 app import ( diff --git a/cmd/dfget/app/root.go b/cmd/dfget/app/root.go index 8763ddd44..ef39ee970 100644 --- a/cmd/dfget/app/root.go +++ b/cmd/dfget/app/root.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 app import ( diff --git a/cmd/dfget/app/root_test.go b/cmd/dfget/app/root_test.go index efc4ef05f..68bebc0e2 100644 --- a/cmd/dfget/app/root_test.go +++ b/cmd/dfget/app/root_test.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 app import ( diff --git a/cmd/dfget/app/version.go b/cmd/dfget/app/version.go index e6e1d4f5f..f56dd4d99 100644 --- a/cmd/dfget/app/version.go +++ b/cmd/dfget/app/version.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 app import ( diff --git a/dfdaemon/constant/code.go b/dfdaemon/constant/code.go index 054267970..71887d398 100644 --- a/dfdaemon/constant/code.go +++ b/dfdaemon/constant/code.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 constant diff --git a/dfdaemon/downloader/dfget/dfget.go b/dfdaemon/downloader/dfget/dfget.go index 1c55373f8..3ff5af9f5 100644 --- a/dfdaemon/downloader/dfget/dfget.go +++ b/dfdaemon/downloader/dfget/dfget.go @@ -1,16 +1,18 @@ -// Copyright The Dragonfly Authors. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 dfget diff --git a/dfdaemon/downloader/downloader.go b/dfdaemon/downloader/downloader.go index cdf0a5ef2..999406cd1 100644 --- a/dfdaemon/downloader/downloader.go +++ b/dfdaemon/downloader/downloader.go @@ -1,16 +1,18 @@ -// Copyright The Dragonfly Authors. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 downloader diff --git a/dfdaemon/exception/errors.go b/dfdaemon/exception/errors.go index 01e7c5e2a..8c6ff5e64 100644 --- a/dfdaemon/exception/errors.go +++ b/dfdaemon/exception/errors.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 exception diff --git a/dfdaemon/global/global.go b/dfdaemon/global/global.go index 4af51bc4e..404162d9d 100644 --- a/dfdaemon/global/global.go +++ b/dfdaemon/global/global.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 global diff --git a/dfdaemon/handler/debug_handler.go b/dfdaemon/handler/debug_handler.go index e85fda842..655247ff1 100644 --- a/dfdaemon/handler/debug_handler.go +++ b/dfdaemon/handler/debug_handler.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 handler diff --git a/dfdaemon/handler/env_handler.go b/dfdaemon/handler/env_handler.go index 3daaa1fc4..e8cabf627 100644 --- a/dfdaemon/handler/env_handler.go +++ b/dfdaemon/handler/env_handler.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 handler diff --git a/dfdaemon/handler/param_handler.go b/dfdaemon/handler/param_handler.go index 7a5f8ca11..6c59dcd45 100644 --- a/dfdaemon/handler/param_handler.go +++ b/dfdaemon/handler/param_handler.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 handler diff --git a/dfdaemon/handler/root_handler.go b/dfdaemon/handler/root_handler.go index 7c3afc458..420655741 100644 --- a/dfdaemon/handler/root_handler.go +++ b/dfdaemon/handler/root_handler.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 handler diff --git a/dfdaemon/handler/transport.go b/dfdaemon/handler/transport.go index 6f459ae0d..339af0388 100644 --- a/dfdaemon/handler/transport.go +++ b/dfdaemon/handler/transport.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 handler diff --git a/dfdaemon/initializer/atime_darwin_amd64.go b/dfdaemon/initializer/atime_darwin_amd64.go index d418c705a..e5a625387 100644 --- a/dfdaemon/initializer/atime_darwin_amd64.go +++ b/dfdaemon/initializer/atime_darwin_amd64.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 initializer import "syscall" diff --git a/dfdaemon/initializer/atime_linux_amd64.go b/dfdaemon/initializer/atime_linux_amd64.go index d08aaddf8..e62bab9ad 100644 --- a/dfdaemon/initializer/atime_linux_amd64.go +++ b/dfdaemon/initializer/atime_linux_amd64.go @@ -1,3 +1,19 @@ +/* + * Copyright The Dragonfly Authors. + * + * 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 initializer import "syscall" diff --git a/dfdaemon/initializer/initializer.go b/dfdaemon/initializer/initializer.go index afe96b17a..b6a6bcb15 100644 --- a/dfdaemon/initializer/initializer.go +++ b/dfdaemon/initializer/initializer.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 initializer diff --git a/dfdaemon/muxconf/muxconf.go b/dfdaemon/muxconf/muxconf.go index d80c4ec8a..f9eb7154d 100644 --- a/dfdaemon/muxconf/muxconf.go +++ b/dfdaemon/muxconf/muxconf.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 muxconf diff --git a/dfdaemon/util/netutil.go b/dfdaemon/util/netutil.go index ccf42e4ab..e7250bfa5 100644 --- a/dfdaemon/util/netutil.go +++ b/dfdaemon/util/netutil.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 util diff --git a/dfdaemon/util/urlutil.go b/dfdaemon/util/urlutil.go index 12eb7e6bd..a819d0bcc 100644 --- a/dfdaemon/util/urlutil.go +++ b/dfdaemon/util/urlutil.go @@ -1,16 +1,18 @@ -// Copyright 1999-2017 Alibaba Group. -// -// 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. +/* + * Copyright The Dragonfly Authors. + * + * 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 util