bump 1.0.0 and add status screenshot.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-04-11 15:13:13 +08:00
parent f9d5b91b6c
commit d12a27c9d9
5 changed files with 19 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
package gopush
const (
Version = "0.0.1"
Version = "1.0.0"
)
const (

View File

@@ -16,7 +16,7 @@ func PrintGoPushVersion() {
func VersionMiddleware() gin.HandlerFunc {
// Set out header value for each response
return func(c *gin.Context) {
c.Writer.Header().Set("Server-Version", "GoPush "+Version)
c.Writer.Header().Set("Server-Version", "GoPush/"+Version)
c.Next()
}
}