controllers

package
v0.0.0-...-6bc2f21 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SvgTemplate = `` /* 519-byte string literal not displayed */

Functions

func GetTemplate

func GetTemplate() (*template.Template, error)

Types

type DebugController

type DebugController struct {
	base.QArtController
}

func (*DebugController) Encode

func (c *DebugController) Encode()

func (*DebugController) Frame

func (c *DebugController) Frame()

func (*DebugController) Mask

func (c *DebugController) Mask()

type MainController

type MainController struct {
	base.QArtController
}

func (*MainController) Get

func (c *MainController) Get()

type PlaceHolder

type PlaceHolder struct {
	Width  int
	Height int
	Random string
	Title  string
}

type PlaceHolderController

type PlaceHolderController struct {
	beego.Controller
}

func (*PlaceHolderController) Get

func (p *PlaceHolderController) Get()

type RenderController

type RenderController struct {
	base.QArtController
}

func (*RenderController) Config

func (c *RenderController) Config()

func (*RenderController) Post

func (c *RenderController) Post()

type ShareController

type ShareController struct {
	base.QArtController
}

func (*ShareController) CreateShare

func (c *ShareController) CreateShare()

func (*ShareController) Get

func (c *ShareController) Get()

type UploadController

type UploadController struct {
	base.QArtController
}

func (*UploadController) Post

func (c *UploadController) Post()

@Title Upload image @Description Upload image for further operation @Success 200 {object} models.response.BaseResponse @Param image formData string true "upload file name" @router / [post]

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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