misc

package
v1.16.5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 13 Imported by: 64

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 NodeInfo added in v1.16.0

func NodeInfo(ctx *context.APIContext)

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

func SigningKey added in v1.11.0

func SigningKey(ctx *context.APIContext)

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

func Swagger added in v1.3.0

func Swagger(ctx *context.Context)

Swagger render swagger-ui page with v1 json

func Version added in v1.1.0

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