commit 6bbbe32b6f65110bd48fdfe7da4ca50063e56a39
parent 39ace37a09c19b51adf0fba3f0deece2ea3d7764
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 5 Jan 2016 14:20:54 +0100
Updating copyright in header + LICENSE
Diffstat:
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2012-2014, Frederic Cambus
+Copyright (c) 2012-2016, Frederic Cambus
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/rrda.go b/rrda.go
@@ -1,10 +1,11 @@
/*****************************************************************************/
/* */
-/* RRDA (RRDA REST DNS API) 1.01 (c) by Frederic Cambus 2012-2014 */
+/* RRDA (RRDA REST DNS API) 1.01 */
+/* Copyright (c) 2012-2016, Frederic Cambus */
/* http://www.statdns.com */
/* */
-/* Created: 2012/03/11 */
-/* Last Updated: 2014/05/03 */
+/* Created: 2012-03-11 */
+/* Last Updated: 2016-01-05 */
/* */
/* RRDA is released under the BSD 3-Clause license. */
/* See LICENSE file for details. */
@@ -161,7 +162,7 @@ func ptr(w http.ResponseWriter, r *http.Request) {
}
func main() {
- header := "-------------------------------------------------------------------------------\n RRDA (RRDA REST DNS API) 1.01 (c) by Frederic Cambus 2012-2014\n-------------------------------------------------------------------------------"
+ header := "-------------------------------------------------------------------------------\n RRDA (RRDA REST DNS API) 1.01 (c) by Frederic Cambus 2012-2016\n-------------------------------------------------------------------------------"
host := flag.String("host", "127.0.0.1", "Set the server host")
port := flag.String("port", "8080", "Set the server port")