urlconfig

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathHome          = "/"
	PathPost          = "/p/post"
	PathDocs          = "/docs"
	PathLinks         = "/links"
	PathSponsors      = "/sponsors"
	PathAbout         = "/about"
	PathPublish       = "/publish"
	PathSearch        = "/search"
	PathRegister      = "/login"
	PathLogin         = "/login"
	PathRss           = "/rss.xml"
	PathMessages      = "/messages"
	PathSettings      = "/settings"
	PathNotifications = "/notifications"
	PathActivate      = "/activate"
	PathResetPassword = "/reset-password"
	PathAdmin         = "/admin/"
)

页面路径定义

Variables

This section is empty.

Functions

func About added in v0.1.1

func About() string

func Activate added in v0.1.1

func Activate() string

func Admin added in v0.1.1

func Admin() string

func Docs added in v0.1.1

func Docs() string

func DocsContent added in v0.1.1

func DocsContent(projectSlug, versionSlug, contentSlug any) string

func DocsProject added in v0.1.1

func DocsProject(slug any) string

func FilePath

func FilePath(filename string) string

func GetDefaultAvatar

func GetDefaultAvatar() string

func Home added in v0.1.1

func Home() string
func Links() string

func Login added in v0.1.1

func Login() string

func Messages added in v0.1.1

func Messages() string

func Notifications added in v0.1.1

func Notifications() string

func Post added in v0.1.1

func Post() string

func PostDetail added in v0.1.1

func PostDetail(id any) string

func Publish added in v0.1.1

func Publish() string

func Register added in v0.1.1

func Register() string

func ResetPassword added in v0.1.1

func ResetPassword() string

func Rss added in v0.1.1

func Rss() string
func Search() string

func Settings added in v0.1.1

func Settings() string

func Sponsors added in v0.1.1

func Sponsors() string

func User added in v0.1.1

func User(id any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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