Fixed #66 Support memory interface.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
15
gorush/storage.go
Normal file
15
gorush/storage.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package gorush
|
||||
|
||||
// Storage interface
|
||||
type Storage interface {
|
||||
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