move storage interface to storage folder. (#240)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-06-23 23:09:45 -05:00 committed by GitHub
parent c1b9c19506
commit 8dcc680434
2 changed files with 5 additions and 3 deletions

View File

@ -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
)

View File

@ -1,4 +1,4 @@
package gorush
package storage
// Storage interface
type Storage interface {