Documentation ¶
Index ¶
- type StatEnv
- func (env *StatEnv) GetPlanData(w http.ResponseWriter, r *http.Request)
- func (env *StatEnv) GetTotalUserCount(w http.ResponseWriter, r *http.Request)
- func (env *StatEnv) GetTotalUserCountLast30Days(w http.ResponseWriter, r *http.Request)
- func (env *StatEnv) GetUserRegData(w http.ResponseWriter, r *http.Request)
- type StatRepository
- type StatRepositoryInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatEnv ¶
type StatEnv struct { Logger goKitLog.Logger StatRepo StatRepositoryInterface Common lib.CommonService }
func (*StatEnv) GetPlanData ¶
func (env *StatEnv) GetPlanData(w http.ResponseWriter, r *http.Request)
func (*StatEnv) GetTotalUserCount ¶
func (env *StatEnv) GetTotalUserCount(w http.ResponseWriter, r *http.Request)
func (*StatEnv) GetTotalUserCountLast30Days ¶
func (env *StatEnv) GetTotalUserCountLast30Days(w http.ResponseWriter, r *http.Request)
func (*StatEnv) GetUserRegData ¶
func (env *StatEnv) GetUserRegData(w http.ResponseWriter, r *http.Request)
type StatRepository ¶
func (*StatRepository) GetPlanData ¶
func (repo *StatRepository) GetPlanData() (string, error)
func (*StatRepository) GetTotalUserCount ¶
func (repo *StatRepository) GetTotalUserCount() (string, error)
func (*StatRepository) GetTotalUserCountLast30Days ¶
func (repo *StatRepository) GetTotalUserCountLast30Days() (string, error)
func (*StatRepository) GetUserRegData ¶
func (repo *StatRepository) GetUserRegData() ([]*models.StatUserRegPerMonth, error)
Click to show internal directories.
Click to hide internal directories.