Go-使用Golang编写的URL短链接服务

时间:2022-09-02 20:48:23
【文件属性】:
文件名称:Go-使用Golang编写的URL短链接服务
文件大小:846KB
文件格式:ZIP
更新时间:2022-09-02 20:48:23
Go开发-其它杂项 使用Golang编写的URL短链接服务。Shortme的特点 相同的URL对应成不同的短链接 提供了short和expand的api。expand的api通过HTTP的307状态码进行重定向 黑名单。避免一些不是特别好的短链接,比如fuck, stupid等;
【文件预览】:
andyxning-shortme-4f6e5c4
----.travis.yml(31B)
----sequence()
--------db()
--------sequence.go(2KB)
----conf()
--------conf.go(2KB)
--------generic.go(169B)
----base()
--------base_test.go(3KB)
--------base.go(955B)
--------common.go(280B)
----schema()
--------shortme.sql(2KB)
--------sequence.sql(2KB)
----LICENSE(34KB)
----static()
--------css()
--------js()
----shortme_record.gif(399KB)
----main.go(468B)
----.gitignore(282B)
----web()
--------www()
--------web.go(1015B)
--------api()
----logo.png(192KB)
----short()
--------short.go(3KB)
----config.conf(1KB)
----README.md(11KB)
----template()
--------index.html(4KB)
--------health.html(2B)
----favicon.ico(192KB)

网友评论