controller

package
v0.0.0-...-f5047bd Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base interface {
	RegisterActions(r *gin.Engine)
}

type GenericController

type GenericController struct {
	Base
}

func (*GenericController) NewResponseBase

func (c *GenericController) NewResponseBase(r *gin.Context, code uint32, message string) *response.Base

func (*GenericController) NewResponseGeneric

func (c *GenericController) NewResponseGeneric(r *gin.Context, code uint32, message string, data any, ext any) *response.Generic[any, any]

Jump to

Keyboard shortcuts

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