aboutsummaryrefslogtreecommitdiff
path: root/modules/ssh/ssh_1.3.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-08 16:59:56 -0500
committerUnknwon <u@gogs.io>2015-11-08 16:59:56 -0500
commit18c841050b4c843ef723e788d4c0a4c29c67ffe3 (patch)
tree05fa3bde8473045add17f4efe9a0ba141b178bf7 /modules/ssh/ssh_1.3.go
parentb55499d039c5e35130057b8af16401c558e79e79 (diff)
fix 1540 and experimental SSH server support
Diffstat (limited to 'modules/ssh/ssh_1.3.go')
-rw-r--r--modules/ssh/ssh_1.3.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/ssh/ssh_1.3.go b/modules/ssh/ssh_1.3.go
new file mode 100644
index 00000000..62275ee6
--- /dev/null
+++ b/modules/ssh/ssh_1.3.go
@@ -0,0 +1,7 @@
+// +build !go1.4
+
+package ssh
+
+func Listen(port int) {
+ panic("Gogs requires Go 1.4 for starting a SSH server")
+}