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]
Click to show internal directories.
Click to hide internal directories.