global

package
v0.0.0-...-7c4d03a Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Lang string

Lang lang

Functions

func GetLang

func GetLang() string

GetLang get lang

Types

type BaseController

type BaseController struct {
	beego.Controller
	i18n.Locale
}

BaseController base controller

func (*BaseController) Prepare

func (r *BaseController) Prepare()

Prepare prepare

func (*BaseController) Tr

func (r *BaseController) Tr(format string) string

Tr translate

type ErrorController

type ErrorController struct {
	beego.Controller
	i18n.Locale
}

ErrorController error controller

func (*ErrorController) Error401

func (r *ErrorController) Error401()

Error401 401

func (*ErrorController) Error402

func (r *ErrorController) Error402()

Error402 402

func (*ErrorController) Error403

func (r *ErrorController) Error403()

Error403 403

func (*ErrorController) Error404

func (r *ErrorController) Error404()

Error404 404

func (*ErrorController) Error405

func (r *ErrorController) Error405()

Error405 405

func (*ErrorController) Error500

func (r *ErrorController) Error500()

Error500 500

func (*ErrorController) Error501

func (r *ErrorController) Error501()

Error501 501

func (*ErrorController) Error502

func (r *ErrorController) Error502()

Error502 502

func (*ErrorController) Error503

func (r *ErrorController) Error503()

Error503 503

func (*ErrorController) Error504

func (r *ErrorController) Error504()

Error504 504

type NestPreparer

type NestPreparer interface {
	NestPrepare()
}

NestPreparer nest preparer

Jump to

Keyboard shortcuts

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