mapi

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Resources = &controller.Controllers{
	Controllers: []controller.Controller{
		shortLinkMController,
	},
}

Functions

This section is empty.

Types

type ShortLinkMController

type ShortLinkMController struct {
	controller.ResourceController
	ShortLinkService *service.ShortLinkService `inject:"shortLinkService"`
}

func (*ShortLinkMController) AfterInitialize

func (c *ShortLinkMController) AfterInitialize()
func (c *ShortLinkMController) CreateShortLink(ctx *gin.Context)
func (c *ShortLinkMController) DeleteShortLink(ctx *gin.Context)
func (c *ShortLinkMController) GetShortLink(ctx *gin.Context)
func (c *ShortLinkMController) GetShortLinks(ctx *gin.Context)
func (c *ShortLinkMController) PatchShortLink(ctx *gin.Context)

Jump to

Keyboard shortcuts

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