Documentation ¶
Index ¶
- Variables
- type BaseController
- func (b *BaseController) JsonError(entryType, errmsg string, data interface{}, isLog bool)
- func (b *BaseController) JsonOK(entryType string, data interface{}, isLog bool)
- func (b *BaseController) LogError(entryType string, msg StringMap)
- func (b *BaseController) LogInfo(entryType string, msg StringMap)
- func (b *BaseController) Prepare()
- type DingdingController
- type EmailController
- type HolidayController
- type MD5Controller
- type PasswordController
- type PhoneController
- type QueryIPController
- type StorePasswordController
- type StringMap
- type TwoStepAuthController
- type VersionController
- type WeixinController
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UniQueIDName = getUniqueIDName() NeedTokenError = "need DEVOPS-API-TOKEN header" TokenAuthError = "DEVOPS-API-TOKEN auth fail" )
View Source
var (
StorePasswordEntryType = "Store Password"
)
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
BaseController 基础控制器
func (*BaseController) JsonError ¶
func (b *BaseController) JsonError(entryType, errmsg string, data interface{}, isLog bool)
func (*BaseController) JsonOK ¶
func (b *BaseController) JsonOK(entryType string, data interface{}, isLog bool)
func (*BaseController) LogError ¶
func (b *BaseController) LogError(entryType string, msg StringMap)
func (*BaseController) LogInfo ¶
func (b *BaseController) LogInfo(entryType string, msg StringMap)
type DingdingController ¶
type DingdingController struct {
BaseController
}
DingdingController 发送钉钉消息控制器
func (*DingdingController) SendMessage ¶
func (d *DingdingController) SendMessage()
SendMessage 发送钉钉消息
type HolidayController ¶
type HolidayController struct {
BaseController
}
HolidayController 节假日工作日判断
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 PhoneController ¶
type PhoneController struct {
BaseController
}
PhoneController 手机归属地查询
func (*PhoneController) Get ¶
func (p *PhoneController) Get()
type StorePasswordController ¶
type StorePasswordController struct {
BaseController
}
StorePasswordController 密码管理控制器
func (*StorePasswordController) Delete ¶
func (m *StorePasswordController) Delete()
Delete 密码管理 删除密码
type TwoStepAuthController ¶
type TwoStepAuthController struct {
BaseController
}
TwoStepAuthController 二步验证控制器
type VersionController ¶
type VersionController struct {
BaseController
}
VersionController 程序自身版本管理控制器
Click to show internal directories.
Click to hide internal directories.