controllers

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

func NewError

func NewError(code int, message string) *Error

type SettingController added in v1.1.0

type SettingController struct {
	Interactor usecase.SettingInteractor
}

func NewSettingController added in v1.1.0

func NewSettingController(rwDB, roDB *gorm.DB) *SettingController

func (*SettingController) Get added in v1.1.0

func (controller *SettingController) Get(c *gin.Context)

func (*SettingController) Set added in v1.1.0

func (controller *SettingController) Set(c *gin.Context)

type TVController

type TVController struct {
	Interactor usecase.TVInteractor
}

func NewTVController

func NewTVController(rwDB, roDB *gorm.DB) *TVController

func (*TVController) Handle

func (controller *TVController) Handle(c *gin.Context)

Jump to

Keyboard shortcuts

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