@@ -50,9 +50,9 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err = gopush.CheckPushConf(); err != nil {
|
if err = gopush.CheckPushConf(); err != nil {
|
||||||
log.Printf("Check Conf Error: '%v'", err)
|
log.Printf("Check Conf Error: '%v'", err)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
gopush.InitAPNSClient()
|
gopush.InitAPNSClient()
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
package gopush
|
package gopush
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"github.com/google/go-gcm"
|
"github.com/google/go-gcm"
|
||||||
apns "github.com/sideshow/apns2"
|
apns "github.com/sideshow/apns2"
|
||||||
"github.com/sideshow/apns2/certificate"
|
"github.com/sideshow/apns2/certificate"
|
||||||
"github.com/sideshow/apns2/payload"
|
"github.com/sideshow/apns2/payload"
|
||||||
"log"
|
"log"
|
||||||
"errors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExtendJSON struct {
|
type ExtendJSON struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user