Documentation ¶
Index ¶
- Variables
- type ShortLinkMController
- 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)
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 (*ShortLinkMController) CreateShortLink ¶
func (c *ShortLinkMController) CreateShortLink(ctx *gin.Context)
func (*ShortLinkMController) DeleteShortLink ¶
func (c *ShortLinkMController) DeleteShortLink(ctx *gin.Context)
func (*ShortLinkMController) GetShortLink ¶
func (c *ShortLinkMController) GetShortLink(ctx *gin.Context)
func (*ShortLinkMController) GetShortLinks ¶
func (c *ShortLinkMController) GetShortLinks(ctx *gin.Context)
func (*ShortLinkMController) PatchShortLink ¶
func (c *ShortLinkMController) PatchShortLink(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.