Skip to content

domac/akbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akbs

轻量级http web服务框架

Start using it

  1. 下载:

    $ go get github.com/phillihq/akbs
  2. 进行项目构建:

    $ make build
  3. 生成输出文件

    上面步骤生成builds文件夹,进入此文件夹会发现生成了一个二进制文件akb和一个包含配置文件的文件夹config
  4. 执行二进制文件

    ./akb -config config/conf.yaml
  5. 浏览器访问

    在地址栏输入 http://localhost:8080
    
    若显示 "Power by akbs" 则程序运行正常
  6. 性能情况查看

    访问 http://localhost:8080/profile/:name
    
    :name 参数说明
        goroutinue
        block
        heap
        threadcreate
  7. 支持

    • Redigo: Redigo is a Go client for the Redis database.
    • Mysql: Go MySQL Driver is a lightweight and fast MySQL driver for Go's (golang) database/sql package

About

基于gin封装的web框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published