summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2018-10-14 20:38:54 -0400
committerAaron Hill <aa1ronham@gmail.com>2018-10-17 21:21:05 -0400
commit230d9a201276bbe2dd3e6fd0d44a9c77001f09e3 (patch)
tree57022df41c5ae3d105e36cbb149e483cb8d09ba8 /src
parent0b0c7c6c145856879e9521b3da3ad2ab8e42687a (diff)
downloadroughenough-230d9a201276bbe2dd3e6fd0d44a9c77001f09e3.zip
Add license headers
Diffstat (limited to 'src')
-rw-r--r--src/config/memory.rs15
-rw-r--r--src/server.rs15
2 files changed, 30 insertions, 0 deletions
diff --git a/src/config/memory.rs b/src/config/memory.rs
index 1227075..abca5a5 100644
--- a/src/config/memory.rs
+++ b/src/config/memory.rs
@@ -1,3 +1,18 @@
+// Copyright 2017-2018 int08h LLC
+//
+// 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.
+
+
use config::ServerConfig;
use config::{DEFAULT_BATCH_SIZE, DEFAULT_STATUS_INTERVAL};
use key::KeyProtection;
diff --git a/src/server.rs b/src/server.rs
index ca27a5e..3739b6f 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -1,3 +1,18 @@
+// Copyright 2017-2018 int08h LLC
+//
+// 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.
+
+
use hex;
use std::io::ErrorKind;
use std::net::SocketAddr;