Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileServer ¶
FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.
Types ¶
type Server ¶
type Server struct {
Logger *log.Logger
Config *config.Config
Router *chi.Mux
Manager *search.Manager
// contains filtered or unexported fields
}
Server holds all the data the App needs
Click to show internal directories.
Click to hide internal directories.