Documentation ¶
Index ¶
- type UserEnv
- type UserRepository
- func (repo *UserRepository) GetAll(limit string, offset string, orderby string, sort string) ([]*models.UserReduced, string, error)
- func (repo *UserRepository) GetAllBatch(limit string, offset string, orderby string, sort string) (string, error)
- func (repo *UserRepository) GetBatchTask(batchTaskId string) (*models.BatchTask, error)
- type UserRepositoryInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserEnv ¶
type UserEnv struct { Logger goKitLog.Logger UserRepo UserRepositoryInterface Common lib.CommonService }
func (*UserEnv) GetAllBatch ¶
func (env *UserEnv) GetAllBatch(w http.ResponseWriter, r *http.Request)
func (*UserEnv) GetBatchTask ¶
func (env *UserEnv) GetBatchTask(w http.ResponseWriter, r *http.Request)
type UserRepository ¶
func (*UserRepository) GetAll ¶
func (repo *UserRepository) GetAll(limit string, offset string, orderby string, sort string) ([]*models.UserReduced, string, error)
func (*UserRepository) GetAllBatch ¶
func (*UserRepository) GetBatchTask ¶
func (repo *UserRepository) GetBatchTask(batchTaskId string) (*models.BatchTask, error)
type UserRepositoryInterface ¶
Click to show internal directories.
Click to hide internal directories.