LogPusher: Log tracking for Go
LogPusher is a system that allows you to receive notifications through your mobile on a single application. Apart from push notifications, you can also receive information without a mobile client via SMS and Mail service. You can integrate with any software through the API. Thanks to rapid API integration, you do not spend extra time for information and mail service.
LogPusher is easy to use on the client side thanks to its simple interface. Just generate API key trough our control panel and you are ready to go.
Getting started
- Create a LogPusher account
- Create a new App and get API Token
Installation
go get logpusher
Usage
package main
import (
"fmt"
"lpusherlib/src"
"time"
)
func main() {
client := logpusher.New("me@amazon.com", "strongpass", "logpusherapikey")
result, err := client.Push("My awesome log message",
"myawesomesite.com",
"E-commerce",
"Notice",
"EVENT0",
time.Now(),
time.Now(),
)
if err != nil {
panic(err.Error())
}
fmt.Println(result)
}
Support
Contributing
- Fork it ( https://github.com/LogPusher/logpusher-go/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors