restRouters

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestInteractor

type RestInteractor struct {
	Usecase    repositories.RestUsecase
	Middleware *restMiddleware.Middleware
}

type RestServer

type RestServer struct {
	Cfg            *config.ServiceConfig
	App            *fiber.App
	RestInteractor *RestInteractor
}

func New

func New(this *RestServer) *RestServer

func (*RestServer) CreateRefreshToken

func (rest *RestServer) CreateRefreshToken(ctx *fiber.Ctx) error

func (*RestServer) CreateSigning

func (rest *RestServer) CreateSigning(ctx *fiber.Ctx) error

func (*RestServer) CreateSignup

func (rest *RestServer) CreateSignup(ctx *fiber.Ctx) error

func (*RestServer) GetDetailMovie

func (rest *RestServer) GetDetailMovie(ctx *fiber.Ctx) error

func (*RestServer) GetListMovie

func (rest *RestServer) GetListMovie(ctx *fiber.Ctx) error

func (*RestServer) Register

func (rest *RestServer) Register()

Jump to

Keyboard shortcuts

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