move storage interface to storage folder. (#240)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
17
storage/storage.go
Normal file
17
storage/storage.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package storage
|
||||
|
||||
// Storage interface
|
||||
type Storage interface {
|
||||
Init() error
|
||||
Reset()
|
||||
AddTotalCount(int64)
|
||||
AddIosSuccess(int64)
|
||||
AddIosError(int64)
|
||||
AddAndroidSuccess(int64)
|
||||
AddAndroidError(int64)
|
||||
GetTotalCount() int64
|
||||
GetIosSuccess() int64
|
||||
GetIosError() int64
|
||||
GetAndroidSuccess() int64
|
||||
GetAndroidError() int64
|
||||
}
|
||||
Reference in New Issue
Block a user