diff --git a/src/modules/agent/sys/funcs/cpustat.go b/src/modules/agent/sys/funcs/cpustat.go index b2cd8728a322f07a871ab75193f4390dc52f4322..952f82caa351cbc377e85c3b808241b78bb36c77 100644 --- a/src/modules/agent/sys/funcs/cpustat.go +++ b/src/modules/agent/sys/funcs/cpustat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/cron.go b/src/modules/agent/sys/funcs/cron.go index 4d1ab0add979d2a6319753490758c667a5aff2f7..3990bfb477dc9e57e2382b1af753a878f90b29b3 100644 --- a/src/modules/agent/sys/funcs/cron.go +++ b/src/modules/agent/sys/funcs/cron.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/dfstat.go b/src/modules/agent/sys/funcs/dfstat.go index a73aaeba96c8078059099d1c1c8a436b5043af91..b764d3a09a061dbff3203c62787ccf8f7eb89ea2 100644 --- a/src/modules/agent/sys/funcs/dfstat.go +++ b/src/modules/agent/sys/funcs/dfstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/diskstat.go b/src/modules/agent/sys/funcs/diskstat.go index c4aa2276e3956de97c3e1bf5312306aa9b21732a..6a17f47b7dfdaae2b4853a82deaedba99f6fa0cd 100644 --- a/src/modules/agent/sys/funcs/diskstat.go +++ b/src/modules/agent/sys/funcs/diskstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/fsstat.go b/src/modules/agent/sys/funcs/fsstat.go index 8243fa7386dc97b601142bd9520d5144ff9ce517..42d335d65fcfed005fae20f4ffbad63184468986 100644 --- a/src/modules/agent/sys/funcs/fsstat.go +++ b/src/modules/agent/sys/funcs/fsstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/funcs.go b/src/modules/agent/sys/funcs/funcs.go index f547855d6305ca7d1c091a7a55672a27d6a0ac32..6357cb2960bde02bbadb7e1f553fac096a3e1e07 100644 --- a/src/modules/agent/sys/funcs/funcs.go +++ b/src/modules/agent/sys/funcs/funcs.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/ifstat.go b/src/modules/agent/sys/funcs/ifstat.go index 6f1e19c1562c9acfac60fe0dae0f2313142109e5..ff35c19ba2d890461f69f1483531d30e090b61fd 100644 --- a/src/modules/agent/sys/funcs/ifstat.go +++ b/src/modules/agent/sys/funcs/ifstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/loadavg.go b/src/modules/agent/sys/funcs/loadavg.go index 21f71c9c9141f72f6ad20824a3c2bdd175d8d4d3..157522206498839d8de2bde0066c43dae7b19147 100644 --- a/src/modules/agent/sys/funcs/loadavg.go +++ b/src/modules/agent/sys/funcs/loadavg.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/meminfo.go b/src/modules/agent/sys/funcs/meminfo.go index 3499f69d1d14bd7e792ec2db95fb62f6828f4fe2..674f96a6932e812b47eb5e182b76483a3c9216a0 100644 --- a/src/modules/agent/sys/funcs/meminfo.go +++ b/src/modules/agent/sys/funcs/meminfo.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/snmp.go b/src/modules/agent/sys/funcs/snmp.go index 55eb0de7b3619ea265a6a8f3b716a75dd364e9e0..a1751fb719fed0eea66ccd62ba87cf818f165a2c 100644 --- a/src/modules/agent/sys/funcs/snmp.go +++ b/src/modules/agent/sys/funcs/snmp.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/sockstas.go b/src/modules/agent/sys/funcs/sockstas.go index 8aef3e4af79ffb8645990122a55becdf3d9cf10e..4ea9809c2860d674b997fa1ca48d934e456b5f96 100644 --- a/src/modules/agent/sys/funcs/sockstas.go +++ b/src/modules/agent/sys/funcs/sockstas.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/sys.go b/src/modules/agent/sys/funcs/sys.go index d35839bff30fb030542713b9855b5e291472fede..54c3773534b90d6ced1fc5693d02d96b6d0320c0 100644 --- a/src/modules/agent/sys/funcs/sys.go +++ b/src/modules/agent/sys/funcs/sys.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/plugins/plugin.go b/src/modules/agent/sys/plugins/plugin.go index bece52c1c70b4744c0f2d3ee42edae8666677429..3546b26af31b3dfe79bb94e850e62b52c9d6c52c 100644 --- a/src/modules/agent/sys/plugins/plugin.go +++ b/src/modules/agent/sys/plugins/plugin.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 plugins type Plugin struct { diff --git a/src/modules/agent/sys/plugins/reader.go b/src/modules/agent/sys/plugins/reader.go index e2b64d952f08a987c33662f28be60e8207f09890..db3d288b12b98e39bdefa98c61bf0de265e7236a 100644 --- a/src/modules/agent/sys/plugins/reader.go +++ b/src/modules/agent/sys/plugins/reader.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 plugins import ( diff --git a/src/modules/agent/sys/plugins/scheduler.go b/src/modules/agent/sys/plugins/scheduler.go index 275728f5eadef312dfc1f13253a958bf2dc09d86..23fb3336d1c350d96b507ef3f611b1201920ab7b 100644 --- a/src/modules/agent/sys/plugins/scheduler.go +++ b/src/modules/agent/sys/plugins/scheduler.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 plugins import ( diff --git a/src/modules/judge/cache/history.go b/src/modules/judge/cache/history.go index eb13d25a3b0f57f6c6109755040d2046a5ed2619..610ca903245faafc1c8208ba89722651620ee543 100644 --- a/src/modules/judge/cache/history.go +++ b/src/modules/judge/cache/history.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 cache import ( diff --git a/src/modules/judge/cache/linkedlist.go b/src/modules/judge/cache/linkedlist.go index c085400b6a5d88fbc70b5802db539c66ff70ce79..b19c30314db540ea441c5fd7a551228e34d6425f 100644 --- a/src/modules/judge/cache/linkedlist.go +++ b/src/modules/judge/cache/linkedlist.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 cache import ( diff --git a/src/modules/judge/judge/func.go b/src/modules/judge/judge/func.go index 2e78b73c084c2f789b1a27852f1fbd76323c87c9..7087435fa9b23c1e974977664604d6405030bf4d 100644 --- a/src/modules/judge/judge/func.go +++ b/src/modules/judge/judge/func.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 judge import ( diff --git a/src/modules/judge/judge/judge.go b/src/modules/judge/judge/judge.go index dfb56fd942b3eaccb20d7bbe588836a381ffbb1c..60f2e442b16b10d79d6bf21667df0a923b14b43e 100644 --- a/src/modules/judge/judge/judge.go +++ b/src/modules/judge/judge/judge.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 judge import ( diff --git a/src/modules/judge/rpc/push.go b/src/modules/judge/rpc/push.go index 0e5a9b232d839b4fbd1aca95f98c14dfedf79699..f93bdceea04f21988e3fd8dc1a30f9971801ba8c 100644 --- a/src/modules/judge/rpc/push.go +++ b/src/modules/judge/rpc/push.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/transfer/backend/judge.go b/src/modules/transfer/backend/judge.go index 1198b43f9644c54f932ce1fb1b210ad2825acad4..fd558c3dc9bdfc43eaa8dbb716d93b7058945d99 100644 --- a/src/modules/transfer/backend/judge.go +++ b/src/modules/transfer/backend/judge.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 backend import ( diff --git a/src/modules/transfer/backend/tsdb/query.go b/src/modules/transfer/backend/tsdb/query.go index 9e32d3de763c4db623a993ec5cbcfd955f6b61f4..01081d263253f3681a83ffeaf67e28bcf40ed1f9 100644 --- a/src/modules/transfer/backend/tsdb/query.go +++ b/src/modules/transfer/backend/tsdb/query.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 tsdb import ( diff --git a/src/modules/transfer/backend/tsdb/ring.go b/src/modules/transfer/backend/tsdb/ring.go index 8d8806f17349ae1a89ad6da73b61fe9c125715b9..10640715f66977836caf1922e5f866a5342d147c 100644 --- a/src/modules/transfer/backend/tsdb/ring.go +++ b/src/modules/transfer/backend/tsdb/ring.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 tsdb import ( diff --git a/src/modules/transfer/backend/tsdb/tsdb.go b/src/modules/transfer/backend/tsdb/tsdb.go index 8ecae6cc0bdfe0513c268e7b762edca5ff0c02db..0ce779de45cc024ead6deb70e0dfd244cf5dc97c 100644 --- a/src/modules/transfer/backend/tsdb/tsdb.go +++ b/src/modules/transfer/backend/tsdb/tsdb.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 tsdb import ( diff --git a/src/modules/transfer/rpc/push.go b/src/modules/transfer/rpc/push.go index d489f502ece1587a2d470e4c11736529fb5d1a96..320b649e2961bdc5ca7d6aa0613c5d045cebf5ba 100644 --- a/src/modules/transfer/rpc/push.go +++ b/src/modules/transfer/rpc/push.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/tsdb/rpc/push.go b/src/modules/tsdb/rpc/push.go index 3a022c50228ff41313278b7d25d4af3124c888ab..faaed6281a064210670f7f2e2df30fb7fa470221 100644 --- a/src/modules/tsdb/rpc/push.go +++ b/src/modules/tsdb/rpc/push.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/tsdb/rpc/query.go b/src/modules/tsdb/rpc/query.go index 8b9d98c34d222eac9d9b3953b21224fbb935a23c..bbf1eba9c09394daa9ca3bee2199bd5550d2b7ad 100644 --- a/src/modules/tsdb/rpc/query.go +++ b/src/modules/tsdb/rpc/query.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/tsdb/rrdtool/rrdtool.go b/src/modules/tsdb/rrdtool/rrdtool.go index c7e114a899ffa4f1cb1f0e88d17a7c8a80759929..d00d4337196551ac12e4bd03d7925e5feed4f89b 100644 --- a/src/modules/tsdb/rrdtool/rrdtool.go +++ b/src/modules/tsdb/rrdtool/rrdtool.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rrdtool import ( diff --git a/src/modules/tsdb/rrdtool/sync_disk.go b/src/modules/tsdb/rrdtool/sync_disk.go index 391df532c219fb3859d8197ef60c0caf5eb384a0..ce492595e7189388b44a6b4f134d4df0582731ed 100644 --- a/src/modules/tsdb/rrdtool/sync_disk.go +++ b/src/modules/tsdb/rrdtool/sync_disk.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rrdtool import ( diff --git a/src/modules/tsdb/utils/utils.go b/src/modules/tsdb/utils/utils.go index b16d72768a33a9cffd5df4965beb3ff0f4374d3e..1a01eb8d62fef0e59230ae258309d88bc134ed1d 100644 --- a/src/modules/tsdb/utils/utils.go +++ b/src/modules/tsdb/utils/utils.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 utils import (