summaryrefslogtreecommitdiff
path: root/pkg/server/module/hex.go
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2020-02-23 05:20:04 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2020-02-23 05:20:04 +0300
commitde868930e2301b68a50bde088dd83dc575b72c54 (patch)
tree9f3df0bbdb5035100311fe7194aef66186478ec4 /pkg/server/module/hex.go
parent7c7fafefef94c5fb8bfe319e7745d80a1e88205d (diff)
prepare to auth
Diffstat (limited to 'pkg/server/module/hex.go')
-rw-r--r--pkg/server/module/hex.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/module/hex.go b/pkg/server/module/hex.go
index 2ffd1fc..9b80e0d 100644
--- a/pkg/server/module/hex.go
+++ b/pkg/server/module/hex.go
@@ -22,6 +22,6 @@ func hexDecoder(rq, wq queue.Q) error {
}
func init() {
- register("hex", pipe(hexEncoder))
- register("unhex", pipe(hexDecoder))
+ registerPipe("hex", Pipe(hexEncoder))
+ registerPipe("unhex", Pipe(hexDecoder))
}