Skip to content

使用golang语言,gin框架开发,可提供高性能短网址服务 url shorten service

Notifications You must be signed in to change notification settings

yongliu1992/dwz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

短网址服务 GoDwz

GoDwz 使用 go语言编写,router部分使用gin框架,并使用lru算法缓存热点数据,具有极致性能

Contents

安装

  1. 第一步 下载代码

  2. 拷贝配置文件并修改

   根据实际情况编辑配置文件
  1. 启动程序,注意端口是不是已经被占用 nohup ./dwz &

快速开始

API 例子

以下用127.0.0.1代替域名或者ip,默认端口是80,n是new的简写,url=后面原始长网址

感谢 gin框架,httpRouter

About

使用golang语言,gin框架开发,可提供高性能短网址服务 url shorten service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published