-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.txt
37 lines (31 loc) · 1.12 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
https://github.com/kliver98/api_for_domains
For Windows:
go get -d github.com/buaazp/fasthttprouter
go get -d github.com/lib/pq
cockroach start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:5001
cockroach sql --insecure
create database reto_prueba;
set database = reto_prueba;
create table history (
domain STRING(200) NOT NULL,
searched_at TIMESTAMPTZ NOT NULL
);
INSERT INTO history (domain,searched_at)
VALUES ('kliver.com',clock_timestamp());
create table domain (
name STRING(200) PRIMARY KEY,
ssl_grade STRING(5) NOT NULL,
previous_ssl_grade STRING(5) NOT NULL,
searched_at TIMESTAMPTZ NOT NULL
);
INSERT INTO domain (name,ssl_grade,previous_ssl_grade,searched_at)
VALUES ('facebook.com','A','B',clock_timestamp());
go run Main.go Handler.go
INFO...
SSL GRADES - https://qualys-secure.force.com/discussions/s/article/000005828 ("A+","A","B","C","D","E","F")
https://godoc.org/github.com/brimstone/golang-whois
https://developer.mozilla.org/es/docs/Web/HTTP/Status
Ver cuanto demora json.Marshal
Pruebas de paginas que no existen
verificar si vienen con http://
Trabajar en app movil