controllers

package
v0.0.0-...-c4158a7 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2016 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LANGS map[string]string = map[string]string{
	"java":       "java",
	"python":     "py",
	"c++":        "cpp",
	"javascript": "js",
}

Functions

This section is empty.

Types

type CodeImagesController

type CodeImagesController struct {
	beego.Controller
}

Operations about object

func (*CodeImagesController) Post

func (this *CodeImagesController) Post()

@Title Create @Description create image for source code @Param lang query string true "language of code" @Param code query string true "content of code" @Success 200 {object} models.CodeImage @Failure 403 body is empty @router / [post]

Jump to

Keyboard shortcuts

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