aboutsummaryrefslogtreecommitdiff
path: root/lib/http/fs_handler.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-01-23 23:44:48 +0700
committerShulhan <ms@kilabit.info>2024-01-24 00:07:18 +0700
commit0313d9223c920c58107c9092a0dc66ebf88fefdf (patch)
tree5e8b83144ffc7cccd06be20c11b2a516f654f015 /lib/http/fs_handler.go
parenteb2b4dbdeceb663b1ce29bc08cd5446ecf4c1f07 (diff)
downloadpakakeh.go-0313d9223c920c58107c9092a0dc66ebf88fefdf.tar.xz
lib/http: update doc to use comment links
Diffstat (limited to 'lib/http/fs_handler.go')
-rw-r--r--lib/http/fs_handler.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http/fs_handler.go b/lib/http/fs_handler.go
index 04ee3c08..ce445d44 100644
--- a/lib/http/fs_handler.go
+++ b/lib/http/fs_handler.go
@@ -10,12 +10,12 @@ import (
"github.com/shuLhan/share/lib/memfs"
)
-// FSHandler define the function to inspect each GET request to Server MemFS
-// instance.
+// FSHandler define the function to inspect each GET request to Server
+// [memfs.MemFS] instance.
// The node parameter contains the requested file inside the memfs.
//
// If the handler return true, server will continue processing the node
-// (writing the Node content type, body, and so on).
+// (writing the [memfs.Node] content type, body, and so on).
//
// If the handler return false, server stop processing the node and return
// immediately, which means the function should have already handle writing