diff options
| author | Shulhan <ms@kilabit.info> | 2024-01-23 23:44:48 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-01-24 00:07:18 +0700 |
| commit | 0313d9223c920c58107c9092a0dc66ebf88fefdf (patch) | |
| tree | 5e8b83144ffc7cccd06be20c11b2a516f654f015 /lib/http/fs_handler.go | |
| parent | eb2b4dbdeceb663b1ce29bc08cd5446ecf4c1f07 (diff) | |
| download | pakakeh.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.go | 6 |
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 |
