Documentation ¶
Index ¶
- type AkunItem
- type AkunRepo
- type AkunUploadIterator
- func (iter *AkunUploadIterator) DeactiveAll() error
- func (iter *AkunUploadIterator) Get() (akun *AkunItem, updateinc func(count int, err error) error, ...)
- func (iter *AkunUploadIterator) GetStatus() (*UploadStatus, error)
- func (iter *AkunUploadIterator) InProcessCount() (int64, error)
- func (iter *AkunUploadIterator) Reset() error
- type AkunUploadStatus
- type BaseInterface
- type CategoryRepo
- type UpdateTopedCategoryPayload
- type UploadStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AkunItem ¶
type AkunItem struct { AkunUploadStatus Username string `json:"username" gorm:"primarykey"` Password string `json:"password"` Secret string `json:"secret"` Markup string `json:"markup"` Spin string `json:"spin"` Collection string `json:"collection"` Hastag string `json:"hastag"` TitlePattern string `json:"title_pattern"` }
type AkunRepo ¶
func NewAkunRepo ¶
type AkunUploadIterator ¶
func NewAkunUploadIterator ¶
func NewAkunUploadIterator(db *gorm.DB) *AkunUploadIterator
func (*AkunUploadIterator) DeactiveAll ¶
func (iter *AkunUploadIterator) DeactiveAll() error
func (*AkunUploadIterator) GetStatus ¶
func (iter *AkunUploadIterator) GetStatus() (*UploadStatus, error)
func (*AkunUploadIterator) InProcessCount ¶
func (iter *AkunUploadIterator) InProcessCount() (int64, error)
func (*AkunUploadIterator) Reset ¶
func (iter *AkunUploadIterator) Reset() error
type AkunUploadStatus ¶
type BaseInterface ¶ added in v1.0.1
type CategoryRepo ¶ added in v1.0.1
type CategoryRepo struct { Data *api.CategoryAllListLiteRes // contains filtered or unexported fields }
func NewCategoryRepo ¶ added in v1.0.1
func NewCategoryRepo(base BaseInterface) *CategoryRepo
func (*CategoryRepo) Get ¶ added in v1.0.1
func (repo *CategoryRepo) Get() *api.CategoryAllListLiteRes
func (*CategoryRepo) Save ¶ added in v1.0.1
func (repo *CategoryRepo) Save() error
func (*CategoryRepo) UpdateCateg ¶ added in v1.0.1
func (repo *CategoryRepo) UpdateCateg(payload *UpdateTopedCategoryPayload) error
type UpdateTopedCategoryPayload ¶ added in v1.0.1
type UploadStatus ¶
Click to show internal directories.
Click to hide internal directories.