controller

package
v0.0.0-...-47a8ef8 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationController

type AuthenticationController struct {
	// contains filtered or unexported fields
}

func NewAuthenticationController

func NewAuthenticationController(authService *service.AuthenticationService) *AuthenticationController

func (*AuthenticationController) HandleAuthentication

func (a *AuthenticationController) HandleAuthentication(ctx *gin.Context)

func (*AuthenticationController) HandleGetByteDownloaded

func (a *AuthenticationController) HandleGetByteDownloaded(ctx *gin.Context)

func (*AuthenticationController) HandleListUsage

func (a *AuthenticationController) HandleListUsage(ctx *gin.Context)

func (*AuthenticationController) HandleRegister

func (a *AuthenticationController) HandleRegister(ctx *gin.Context)

type DownloaderController

type DownloaderController struct {
	// contains filtered or unexported fields
}

func NewDownloaderController

func NewDownloaderController(downloader *service.DownloaderService, authService *service.AuthenticationService) *DownloaderController

func (*DownloaderController) HandleDownload

func (d *DownloaderController) HandleDownload(ctx *gin.Context)

func (*DownloaderController) HandleGetVideoInfo

func (d *DownloaderController) HandleGetVideoInfo(ctx *gin.Context)

func (*DownloaderController) HandleRequest

func (d *DownloaderController) HandleRequest(ctx *gin.Context)

Jump to

Keyboard shortcuts

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