auth

package
v0.0.0-...-0d35777 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveRequired

func ActiveRequired(ctx iris.Context)

ActiveRequired 用户必须是激活状态

func AdminRequired

func AdminRequired(ctx iris.Context)

AdminRequired 必须是管理员

func EditorRequired

func EditorRequired(ctx iris.Context)

EditorRequired 必须是网站编辑

func SigninRequired

func SigninRequired(ctx iris.Context)

SigninRequired 必须是登录用户

Types

This section is empty.

Jump to

Keyboard shortcuts

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