summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
Diffstat (limited to 'local.go')
-rw-r--r--local.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/local.go b/local.go
index 463fb61..615f9a6 100644
--- a/local.go
+++ b/local.go
@@ -64,6 +64,11 @@ func (a *LocalConn) Init() error {
return nil
}
+// TestInit does nothing for local connections
+func (a *LocalConn) TestInit() error {
+ return nil
+}
+
// CheckQueue checks for any messages in a queue
func (a *LocalConn) CheckQueue(url string, timeout int64) (Qmsg, error) {
f, err := os.Open(filepath.Join(a.TempDir, url))