Documentation ¶
Index ¶
- type AndroidStatus
- type IosStatus
- type Storage
- func (s *Storage) AddAndroidError(count int64)
- func (s *Storage) AddAndroidSuccess(count int64)
- func (s *Storage) AddIosError(count int64)
- func (s *Storage) AddIosSuccess(count int64)
- func (s *Storage) AddTotalCount(count int64)
- func (s *Storage) GetAndroidError() int64
- func (s *Storage) GetAndroidSuccess() int64
- func (s *Storage) GetIosError() int64
- func (s *Storage) GetIosSuccess() int64
- func (s *Storage) GetTotalCount() int64
- func (s *Storage) Init() error
- func (s *Storage) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndroidStatus ¶
type AndroidStatus struct { PushSuccess int64 `json:"push_success"` PushError int64 `json:"push_error"` }
AndroidStatus is android structure
type IosStatus ¶
type IosStatus struct { PushSuccess int64 `json:"push_success"` PushError int64 `json:"push_error"` }
IosStatus is iOS structure
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func New ¶
func New() *Storage
Storage implements the storage interface for gorush (https://github.com/appleboy/gorush)
func (*Storage) AddAndroidError ¶
func (*Storage) AddAndroidSuccess ¶
func (*Storage) AddIosError ¶
func (*Storage) AddIosSuccess ¶
func (*Storage) AddTotalCount ¶
func (*Storage) GetAndroidError ¶
func (*Storage) GetAndroidSuccess ¶
func (*Storage) GetIosError ¶
func (*Storage) GetIosSuccess ¶
func (*Storage) GetTotalCount ¶
Click to show internal directories.
Click to hide internal directories.