gitea: code.gitea.io/gitea/routers/api/v1/misc Index | Files

package misc

import "code.gitea.io/gitea/routers/api/v1/misc"

Index

Package Files

markdown.go signing.go swagger.go version.go

func Markdown Uses

func Markdown(ctx *context.APIContext, form api.MarkdownOption)

Markdown render markdown document to HTML

func MarkdownRaw Uses

func MarkdownRaw(ctx *context.APIContext)

MarkdownRaw render raw markdown HTML

func SigningKey Uses

func SigningKey(ctx *context.Context)

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

func Swagger Uses

func Swagger(ctx *context.Context)

Swagger render swagger-ui page with v1 json

func Version Uses

func Version(ctx *context.APIContext)

Version shows the version of the Gitea server

Package misc imports 12 packages (graph) and is imported by 2 packages. Updated 2019-10-31. Refresh now. Tools for package owners.