restUC

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL