SYMBOL INDEX (41 symbols across 20 files) FILE: cmd/serve/main.go function main (line 15) | func main() { FILE: examples/basic/main.go function main (line 10) | func main() { FILE: internal/commands/server.go type HTTPServer (line 21) | type HTTPServer interface function GetStdHTTPServer (line 28) | func GetStdHTTPServer(addr string, h http.Handler) HTTPServer { function GetAuthUsers (line 39) | func GetAuthUsers(r io.Reader) map[string]string { function Server (line 59) | func Server(log *log.Logger, opt config.Flags, dir string) error { FILE: internal/commands/server_test.go function getMockHTTPServerFunc (line 16) | func getMockHTTPServerFunc(shouldError bool) func(addr string, h http.Ha... function TestGetStdHTTPServer (line 22) | func TestGetStdHTTPServer(t *testing.T) { function TestServer (line 27) | func TestServer(t *testing.T) { function TestServerErr (line 42) | func TestServerErr(t *testing.T) { function TestServerHTTPS (line 59) | func TestServerHTTPS(t *testing.T) { function TestGetAuthUsers (line 79) | func TestGetAuthUsers(t *testing.T) { FILE: internal/commands/version.go function Version (line 11) | func Version(version string, w io.Writer) error { FILE: internal/commands/version_test.go function TestVersion (line 10) | func TestVersion(t *testing.T) { FILE: internal/config/flags.go type Flags (line 11) | type Flags struct function SanitizeDir (line 25) | func SanitizeDir(dirs ...string) (string, error) { FILE: internal/config/flags_test.go function TestSanitizeDir (line 11) | func TestSanitizeDir(t *testing.T) { function TestSanitizeDirCwdErr (line 38) | func TestSanitizeDirCwdErr(t *testing.T) { FILE: internal/middleware/auth.go function Auth (line 6) | func Auth(users map[string]string) func(next http.Handler) http.Handler { FILE: internal/middleware/auth_test.go function TestAuth (line 11) | func TestAuth(t *testing.T) { FILE: internal/middleware/cors.go function CORS (line 9) | func CORS() func(next http.Handler) http.Handler { FILE: internal/middleware/cors_test.go function TestCORS (line 11) | func TestCORS(t *testing.T) { FILE: internal/middleware/logger.go function Logger (line 10) | func Logger(log *log.Logger) func(next http.Handler) http.Handler { FILE: internal/middleware/logger_test.go function TestLogger (line 35) | func TestLogger(t *testing.T) { FILE: internal/middleware/recover.go function Recover (line 9) | func Recover() func(next http.Handler) http.Handler { FILE: internal/middleware/recover_test.go function TestRecover (line 12) | func TestRecover(t *testing.T) { FILE: internal/middleware/statuswriter.go type statusWriter (line 5) | type statusWriter struct method WriteHeader (line 10) | func (w *statusWriter) WriteHeader(status int) { method Write (line 15) | func (w *statusWriter) Write(b []byte) (int, error) { FILE: mock/http.go type HTTPServer (line 9) | type HTTPServer struct method ListenAndServe (line 14) | func (s *HTTPServer) ListenAndServe() error { method ListenAndServeTLS (line 22) | func (s *HTTPServer) ListenAndServeTLS(certFile, keyFile string) error { FILE: serve.go type Options (line 7) | type Options struct type FileServer (line 16) | type FileServer struct method Use (line 37) | func (fs *FileServer) Use(mws ...func(http.Handler) http.Handler) { method ServeHTTP (line 44) | func (fs *FileServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewFileServer (line 22) | func NewFileServer(options ...Options) *FileServer { FILE: serve_test.go function TestFileServerDefaults (line 11) | func TestFileServerDefaults(t *testing.T) { function TestFileServerOptions (line 16) | func TestFileServerOptions(t *testing.T) { function TestFileServerUse (line 21) | func TestFileServerUse(t *testing.T) { function TestFileServerServeHTTP (line 57) | func TestFileServerServeHTTP(t *testing.T) {