mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-09-22 06:46:34 +08:00
add doc strings
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// NewStaticContentHandler creates a http.Handler which can be used to serve static files.
|
||||
func NewStaticContentHandler(contents embed.FS, staticDirPath, indexFileName string) http.Handler {
|
||||
return &staticContentHandler{
|
||||
contents: contents,
|
||||
|
Reference in New Issue
Block a user