controllers

package
v0.2.60 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateAccount

func ActivateAccount(c *gin.Context)

ActivateAccount 激活处理函数

func NotFound

func NotFound(c *gin.Context)

func RenderRobotsTxt

func RenderRobotsTxt(c *gin.Context)

RenderRobotsTxt renders robots.txt.

func RenderRss added in v0.2.1

func RenderRss(c *gin.Context)

func RenderSitemapXml

func RenderSitemapXml(c *gin.Context)

RenderSitemapXml renders sitemap.xml.

Types

type ActivateAccountData added in v0.1.1

type ActivateAccountData struct {
	Title       string
	Message     string
	Success     bool
	Description string
}

ActivateAccountData 激活页面数据

type SitemapURL added in v0.0.9

type SitemapURL struct {
	Loc      string
	Lastmod  string
	Priority float64
}

Directories

Path Synopsis
Package transform maps model entities to API/view payload structs.
Package transform maps model entities to API/view payload structs.

Jump to

Keyboard shortcuts

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