14 lines
176 B
Go
14 lines
176 B
Go
package api
|
|
|
|
import (
|
|
"encoding/json"
|
|
"log"
|
|
"net/http"
|
|
"strings"
|
|
"time"
|
|
)
|
|
|
|
func (s *Server) handleAuth(w http.ResponseWriter, r *http.Request) {
|
|
// ...existing code...
|
|
}
|