controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	beego.Controller
}

BaseController 基础控制器

func (*BaseController) Prepare

func (b *BaseController) Prepare()

Prepare 覆盖Controller的方法

type EmailController

type EmailController struct {
	BaseController
}

EmailController 发送邮件控制器

func (*EmailController) SendMail

func (e *EmailController) SendMail()

SendMail 发送邮件

type MD5Controller

type MD5Controller struct {
	BaseController
}

MD5Controller MD5管理控制器

func (*MD5Controller) Get

func (m *MD5Controller) Get()

Get 方法

type PasswordController

type PasswordController struct {
	BaseController
}

PasswordController 密码管理控制器

func (*PasswordController) AuthGenPassword

func (p *PasswordController) AuthGenPassword()

AuthGenPassword 验证生成的密码

func (*PasswordController) GenPassword

func (p *PasswordController) GenPassword()

GenPassword 生成指定长度的密码

func (*PasswordController) ManualGenAuthPassword

func (p *PasswordController) ManualGenAuthPassword()

ManualGenAuthPassword 手动生成验证密码

type StorePasswordController added in v0.2.0

type StorePasswordController struct {
	BaseController
}

StorePasswordController 密码管理

func (*StorePasswordController) Delete added in v0.2.0

func (m *StorePasswordController) Delete()

Delete 密码管理 删除密码

func (*StorePasswordController) Get added in v0.2.0

func (m *StorePasswordController) Get()

Get 获取密码

func (*StorePasswordController) Update added in v0.2.0

func (m *StorePasswordController) Update()

Update 密码管理 保存/更新密码

type TwoStepAuthController

type TwoStepAuthController struct {
	BaseController
}

TwoStepAuthController 二步验证控制器

func (*TwoStepAuthController) Auth

func (t *TwoStepAuthController) Auth()

Auth 验证用户输入的6位数字

func (*TwoStepAuthController) Disable

func (t *TwoStepAuthController) Disable()

Disable 禁用2步验证

func (*TwoStepAuthController) Enable

func (t *TwoStepAuthController) Enable()

Enable 启用2步验证

type VersionController

type VersionController struct {
	BaseController
}

VersionController 密码管理控制器

func (*VersionController) Get

func (v *VersionController) Get()

Get 获取程序版本号

Jump to

Keyboard shortcuts

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