move storage interface to storage folder. (#240)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
c1b9c19506
commit
8dcc680434
|
@ -3,8 +3,10 @@ package gorush
|
|||
import (
|
||||
"crypto/tls"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/appleboy/gorush/config"
|
||||
"github.com/appleboy/gorush/storage"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
apns "github.com/sideshow/apns2"
|
||||
)
|
||||
|
||||
|
@ -22,5 +24,5 @@ var (
|
|||
// LogError is log server error log
|
||||
LogError *logrus.Logger
|
||||
// StatStorage implements the storage interface
|
||||
StatStorage Storage
|
||||
StatStorage storage.Storage
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package gorush
|
||||
package storage
|
||||
|
||||
// Storage interface
|
||||
type Storage interface {
|
Loading…
Reference in New Issue