Documentation ¶
Index ¶
- type UCInteractor
- func (uc *UCInteractor) DoGetDetailMovie(ctx *fiber.Ctx, movieID string) (resp *modelResp.DetailMovie, httpCode int, err error)
- func (uc *UCInteractor) DoGetListMovie(ctx *fiber.Ctx, reqClient *modelReq.ListMovie) (resp *modelResp.ListMovie, httpCode int, err error)
- func (uc *UCInteractor) DoSigning(ctx *fiber.Ctx, reqClient *modelReq.User) (resp *modelResp.User, httpCode int, err error)
- func (uc *UCInteractor) DoSignup(ctx *fiber.Ctx, reqClient *modelReq.User) (resp *modelResp.User, httpCode int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UCInteractor ¶
type UCInteractor struct { Cfg *config.ServiceConfig DBRepo repositories.DBRepo CacheRepo repositories.CacheRepo CallWrapperRepo repositories.CallWrapperRepo UtilsRepo repositories.UtilsRepo HelpersRepo repositories.HelpersRepo OMDBRepo repositories.OMDBRepo SpotifyRepo repositories.SpotifyRepo }
func New ¶
func New(c *UCInteractor) *UCInteractor
func (*UCInteractor) DoGetDetailMovie ¶
func (uc *UCInteractor) DoGetDetailMovie(ctx *fiber.Ctx, movieID string) (resp *modelResp.DetailMovie, httpCode int, err error)
func (*UCInteractor) DoGetListMovie ¶
func (uc *UCInteractor) DoGetListMovie(ctx *fiber.Ctx, reqClient *modelReq.ListMovie) (resp *modelResp.ListMovie, httpCode int, err error)
DoGetListMovie get list movie based on request client
func (*UCInteractor) DoSigning ¶ added in v1.0.8
func (uc *UCInteractor) DoSigning(ctx *fiber.Ctx, reqClient *modelReq.User) (resp *modelResp.User, httpCode int, err error)
func (*UCInteractor) DoSignup ¶ added in v1.0.8
func (uc *UCInteractor) DoSignup(ctx *fiber.Ctx, reqClient *modelReq.User) (resp *modelResp.User, httpCode int, err error)
Click to show internal directories.
Click to hide internal directories.