fix #39 support command line to send notification.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-04-10 16:00:17 +08:00
parent f438873e51
commit d4df55dfd6
3 changed files with 85 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
package gopush
import (
"fmt"
api "github.com/appleboy/gin-status-api"
"github.com/gin-gonic/gin"
"net/http"
"fmt"
)
func AbortWithError(c *gin.Context, code int, message string) {