controllers

package
v0.0.0-...-e2c1db5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseAuthorizedController

type BaseAuthorizedController struct {
	BaseController

	OsinResponse *osin.Response
	*AuthorizedContext
}

func (*BaseAuthorizedController) BaseAuthorizedController_PanicInvalidAuthData

func (this *BaseAuthorizedController) BaseAuthorizedController_PanicInvalidAuthData()

func (*BaseAuthorizedController) CreateDefaultRouterOrmContext

func (this *BaseAuthorizedController) CreateDefaultRouterOrmContext(beginTransaction bool) *OrmContext

func (*BaseAuthorizedController) Finish

func (this *BaseAuthorizedController) Finish()

func (*BaseAuthorizedController) Prepare

func (this *BaseAuthorizedController) Prepare()

func (*BaseAuthorizedController) RecoverPanicAndServeError

func (this *BaseAuthorizedController) RecoverPanicAndServeError()

func (*BaseAuthorizedController) RecoverPanicAndServeError_InControllerPrepare

func (this *BaseAuthorizedController) RecoverPanicAndServeError_InControllerPrepare()

type BaseController

type BaseController struct {
	beego.Controller

	*BaseAppContext
}

func (*BaseController) CreateDefaultRouterOrmContext

func (this *BaseController) CreateDefaultRouterOrmContext(beginTransaction bool) *OrmContext

func (*BaseController) GetOptionalParamBoolean

func (this *BaseController) GetOptionalParamBoolean(paramName string, defaultVal bool) (hadParam bool, boolVal bool)

func (*BaseController) GetOptionalParamInt64

func (this *BaseController) GetOptionalParamInt64(paramName string, defaultVal int64) (bool, int64)

func (*BaseController) GetOptionalParamString

func (this *BaseController) GetOptionalParamString(paramName, defaultVal string) (bool, string)

func (*BaseController) GetOptionalQueryInt64

func (this *BaseController) GetOptionalQueryInt64(queryName string, defaultVal int64) (bool, int64)

func (*BaseController) GetOptionalQueryInt64CsvArray

func (this *BaseController) GetOptionalQueryInt64CsvArray(queryName string, defaultVal []int64) (bool, []int64)

func (*BaseController) GetOptionalQueryValueBoolean

func (this *BaseController) GetOptionalQueryValueBoolean(queryKey string, defaultVal bool) (hadQueryValue bool, boolVal bool)

func (*BaseController) GetOptionalQueryValueString

func (this *BaseController) GetOptionalQueryValueString(queryKey, defaultVal string) (bool, string)

func (*BaseController) GetRequiredParamBoolean

func (this *BaseController) GetRequiredParamBoolean(paramName string) bool

func (*BaseController) GetRequiredParamInt64

func (this *BaseController) GetRequiredParamInt64(paramName string) int64

func (*BaseController) GetRequiredParamString

func (this *BaseController) GetRequiredParamString(paramName string) string

func (*BaseController) GetRequiredQueryInt64

func (this *BaseController) GetRequiredQueryInt64(queryName string) int64

func (*BaseController) GetRequiredQueryInt64CsvArray

func (this *BaseController) GetRequiredQueryInt64CsvArray(queryName string) []int64

func (*BaseController) GetRequiredQueryValueBoolean

func (this *BaseController) GetRequiredQueryValueBoolean(queryKey string) bool

func (*BaseController) GetRequiredQueryValueString

func (this *BaseController) GetRequiredQueryValueString(queryKey string) string

func (*BaseController) PanicClientError

func (this *BaseController) PanicClientError(errorFmt string, fmtParams ...interface{})

func (*BaseController) PanicIfError

func (this *BaseController) PanicIfError(err error)

func (*BaseController) Prepare

func (this *BaseController) Prepare()

func (*BaseController) RecoverPanicAndServeError

func (this *BaseController) RecoverPanicAndServeError()

func (*BaseController) RecoverPanicAndServeError_InControllerPrepare

func (this *BaseController) RecoverPanicAndServeError_InControllerPrepare()

func (*BaseController) ServeJsonResponseObject

func (this *BaseController) ServeJsonResponseObject(responseObject IRouterResponseObject)

func (*BaseController) ServeJson_ErrorText

func (this *BaseController) ServeJson_ErrorText(errorMessage string)

func (*BaseController) ServeJson_SuccessText

func (this *BaseController) ServeJson_SuccessText(successMessage string)

func (*BaseController) UnmarshalJsonRequestObjectFromBody

func (this *BaseController) UnmarshalJsonRequestObjectFromBody(requestObject IRequestObject)

Jump to

Keyboard shortcuts

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