summaryrefslogtreecommitdiff
path: root/finger/response.go
diff options
context:
space:
mode:
Diffstat (limited to 'finger/response.go')
-rw-r--r--finger/response.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/finger/response.go b/finger/response.go
index 07ca9a1..8612f45 100644
--- a/finger/response.go
+++ b/finger/response.go
@@ -5,18 +5,18 @@ import (
"io"
"strings"
- "tildegit.org/tjp/gus"
+ sr "tildegit.org/tjp/sliderule"
)
// Error produces a finger Response containing the error message and Status 1.
-func Error(msg string) *gus.Response {
+func Error(msg string) *sr.Response {
if !strings.HasSuffix(msg, "\r\n") {
msg += "\r\n"
}
- return &gus.Response{Body: bytes.NewBufferString(msg), Status: 1}
+ return &sr.Response{Body: bytes.NewBufferString(msg), Status: 1}
}
// Success produces a finger response with a Status of 0.
-func Success(body io.Reader) *gus.Response {
- return &gus.Response{Body: body}
+func Success(body io.Reader) *sr.Response {
+ return &sr.Response{Body: body}
}