gohttpserver/httpserver/handleadmin.go

13 lines
193 B
Go

package httpserver
import (
"fmt"
"net/http"
)
func (s *server) handleLogin() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "hello login")
}
}