summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/hackers.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-08-28 22:17:34 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-08-28 22:17:34 -0600
commit5fd4b54f3a833bdfabf067c4abafa56c11e02ab1 (patch)
treea0f2e720ef46709c6b59e4bcf8036f10831fe64c /src/nshd/hackers_git/hackers.go
parentb55355121e0ed259097254447f16739b0f3da61d (diff)
Clean up, based on making godoc slightly more readable
Diffstat (limited to 'src/nshd/hackers_git/hackers.go')
-rw-r--r--src/nshd/hackers_git/hackers.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nshd/hackers_git/hackers.go b/src/nshd/hackers_git/hackers.go
index f7c4573..230f08b 100644
--- a/src/nshd/hackers_git/hackers.go
+++ b/src/nshd/hackers_git/hackers.go
@@ -2,7 +2,8 @@ package hackers_git
import (
"inotify"
- p "nslcd_proto"
+ "nslcd_proto"
+ "nslcd_proto/util"
"nslcd_systemd"
"sd_daemon/logger"
"sync"
@@ -14,10 +15,10 @@ type Config struct {
}
type Hackers struct {
- p.NullBackend
+ util.NullBackend
cfg Config
lock sync.RWMutex
- users map[int32]p.Passwd
+ users map[int32]nslcd_proto.Passwd
passwords map[int32]string
in_fd *inotify.Inotify
@@ -28,7 +29,7 @@ type Hackers struct {
}
var _ nslcd_systemd.Backend = &Hackers{}
-var _ p.Backend = &Hackers{}
+var _ nslcd_proto.Backend = &Hackers{}
func (o *Hackers) Close() {
logger.Info("Closing hackers.git session")