misc

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 18 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)

Returns information about a gitignore template

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 SigningKey

func SigningKey(ctx *context.APIContext)

SigningKey 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.

Jump to

Keyboard shortcuts

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