Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
Patrick
/
wechat_hitxy
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
signature check for all requests
master
Patrick Peng Sun
hace 8 años
padre
991cd591d1
commit
256ac67577
Se han
modificado 1 ficheros
con
4 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+4
-0
server.go
+ 4
- 0
server.go
Ver fichero
@@ -16,6 +16,10 @@ import (
//
func apiV1Main(w http.ResponseWriter, r *http.Request) {
logRequestDebug(httputil.DumpRequest(r, true))
if checkSignature(r) == false {
fmt.Fprintf(w, "") //empty string
return
}
switch r.Method {
case "POST":
Escribir
Vista previa
Cargando…
Cancelar
Guardar