misc

package
v3.1.23 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitignoreTemplateInfo

func GetGitignoreTemplateInfo(ctx *context.APIContext)

SHows information about a gitignore template

func GetLabelTemplate

func GetLabelTemplate(ctx *context.APIContext)

Shows all labels in a template

func GetLicenseTemplateInfo

func GetLicenseTemplateInfo(ctx *context.APIContext)

func ListGitignoresTemplates

func ListGitignoresTemplates(ctx *context.APIContext)

Shows a list of all Gitignore templates

func ListLabelTemplates

func ListLabelTemplates(ctx *context.APIContext)

Shows a list of all Label templates

func ListLicenseTemplates

func ListLicenseTemplates(ctx *context.APIContext)

Returns a list of all License templates

func Markdown

func Markdown(ctx *context.APIContext)

Markdown render markdown document to HTML

func MarkdownRaw

func MarkdownRaw(ctx *context.APIContext)

MarkdownRaw render raw markdown HTML

func Markup

func Markup(ctx *context.APIContext)

Markup render markup document to HTML

func NodeInfo

func NodeInfo(ctx *context.APIContext)

NodeInfo returns the NodeInfo for the Gitea instance to allow for federation

func SigningKeyGPG

func SigningKeyGPG(ctx *context.APIContext)

SigningKeyGPG returns the public key of the default signing key if it exists

func SigningKeySSH

func SigningKeySSH(ctx *context.APIContext)

SigningKeySSH returns the public key of the default signing key if it exists

func Version

func Version(ctx *context.APIContext)

Version shows the version of the Gitea server

Types

This section is empty.

Source Files

  • gitignore.go
  • label_templates.go
  • licenses.go
  • markup.go
  • nodeinfo.go
  • signing.go
  • version.go

Jump to

Keyboard shortcuts

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