summaryrefslogtreecommitdiff
path: root/pkg/server/hook/hex.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/hook/hex.go')
-rw-r--r--pkg/server/hook/hex.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/hook/hex.go b/pkg/server/hook/hex.go
index beaadeb..e37bc6e 100644
--- a/pkg/server/hook/hex.go
+++ b/pkg/server/hook/hex.go
@@ -9,7 +9,7 @@ import (
type hexHook struct{}
-func (h hexHook) Send(rq, wq queue.Q) error {
+func (hexHook) Send(rq, wq queue.Q) error {
enc := hex.NewEncoder(wq.Writer())
for b := range rq {
@@ -19,7 +19,7 @@ func (h hexHook) Send(rq, wq queue.Q) error {
return nil
}
-func (h hexHook) Recv(rq, wq queue.Q) error {
+func (hexHook) Recv(rq, wq queue.Q) error {
r := hex.NewDecoder(rq.Reader())
return queue.IoCopy(r, wq.Writer())
}