Skip to content

luoch/progress.go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is progress.go?

  • It's a golang version built with Gin of progressd.io.
  • Support non-ascii characters such as Chinese.

Free Service

Parameters

  • Bar

    name place type default comment required
    progress path int Null value of progress
    title query string "" left side title string
    color query string 428bca background color of title string
    scale query int 100 maximum value of progress
    suffix query string % suffix of progress value
    prefix query string "" prefix of progress value
    width query int 90 total progress width
    height query int 20 total progress height
    fontsize query int 11 font size of progress text
  • Pie

    name place type default comment required
    progress path int Null value of progress
    size query int 17 diameter of pie
    scale query int 100 maximum value of progress
    suffix query string % suffix of progress value
    prefix query string "" prefix of progress value
    fontsize query int 11 font size of progress text

Examples

Bar

https://progress.microsv.tk/bar/28 Progress

https://progress.microsv.tk/bar/28?title=progress Progress

https://progress.microsv.tk/bar/58 Progress

https://progress.microsv.tk/bar/59?title=completed&color=af0000 Progress

https://progress.microsv.tk/bar/91?width=300 Progress

https://progress.microsv.tk/bar/91?title=done Progress

https://progress.microsv.tk/bar/7?scale=10&title=mark&suffix=X Progress

https://progress.microsv.tk/bar/1500?width=500&title=abc&scale=2000&suffix=/$2000&prefix=$ Progress

Pie

https://progress.microsv.tk/pie/28 Progress

https://progress.microsv.tk/pie/58 Progress

https://progress.microsv.tk/pie/91?size=40&fontsize=40 Progress

https://progress.microsv.tk/pie/7?scale=10&suffix=X Progress

https://progress.microsv.tk/pie/1500?scale=2000&suffix=/$2000&prefix=$ Progress


Heavily inspired by the works of https://github.com/fehmicansaglam/progressd.io and https://github.com/fredericojordan/progress-bar

About

progress microservice

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.7%
  • Dockerfile 7.3%