@@ -14,7 +14,7 @@ const (
|
||||
AndroidErrorKey = "gorush-android-error-count"
|
||||
)
|
||||
|
||||
// Storage implements the storage interface for gorush (https://github.com/appleboy/gorush)
|
||||
// New func implements the storage interface for gorush (https://github.com/appleboy/gorush)
|
||||
func New(config config.ConfYaml) *Storage {
|
||||
return &Storage{
|
||||
config: config,
|
||||
|
||||
@@ -23,7 +23,7 @@ type IosStatus struct {
|
||||
PushError int64 `json:"push_error"`
|
||||
}
|
||||
|
||||
// Storage implements the storage interface for gorush (https://github.com/appleboy/gorush)
|
||||
// New func implements the storage interface for gorush (https://github.com/appleboy/gorush)
|
||||
func New() *Storage {
|
||||
return &Storage{
|
||||
stat: &statApp{},
|
||||
|
||||
@@ -18,7 +18,7 @@ const (
|
||||
|
||||
var RedisClient *redis.Client
|
||||
|
||||
// Storage implements the storage interface for gorush (https://github.com/appleboy/gorush)
|
||||
// New func implements the storage interface for gorush (https://github.com/appleboy/gorush)
|
||||
func New(config config.ConfYaml) *Storage {
|
||||
return &Storage{
|
||||
config: config,
|
||||
|
||||
Reference in New Issue
Block a user