Documentation ¶
Index ¶
- Variables
- func AlertRecipient(ctx echo.Context) error
- func AlertRecipientAdd(ctx echo.Context) error
- func AlertRecipientDelete(ctx echo.Context) error
- func AlertRecipientEdit(ctx echo.Context) error
- func AlertRecipientTest(ctx echo.Context) error
- func AlertTopic(ctx echo.Context) error
- func AlertTopicAdd(ctx echo.Context) error
- func AlertTopicDelete(ctx echo.Context) error
- func AlertTopicEdit(ctx echo.Context) error
- func ClearCache(ctx echo.Context) error
- func Crop(ctx echo.Context) error
- func CropByOwner(ctx echo.Context, ownerType string, ownerID uint64) error
- func Editable(fileName string) (string, bool)
- func Invitation(ctx echo.Context) error
- func InvitationAdd(ctx echo.Context) error
- func InvitationDelete(ctx echo.Context) error
- func InvitationEdit(ctx echo.Context) error
- func KvAdd(ctx echo.Context) error
- func KvDelete(ctx echo.Context) error
- func KvEdit(ctx echo.Context) error
- func KvIndex(ctx echo.Context) error
- func LoginLog(ctx echo.Context) error
- func LoginLogDelete(ctx echo.Context) error
- func Playable(fileName string) (string, bool)
- func ReloadEnv(ctx echo.Context) error
- func Role(ctx echo.Context) error
- func RoleAdd(ctx echo.Context) error
- func RoleDelete(ctx echo.Context) error
- func RoleEdit(ctx echo.Context) error
- func Settings(ctx echo.Context) error
- func StorerEngine() storer.Info
- func Upload(ctx echo.Context) error
- func UploadByOwner(ctx echo.Context, ownerType string, ownerID uint64, ...) error
- func Uploaded(ctx echo.Context, uploadType string) error
- func UploadedChunk(ctx echo.Context) error
- func UploadedFile(ctx echo.Context) error
- func UploadedMerged(ctx echo.Context) error
- func User(ctx echo.Context) error
- func UserAdd(ctx echo.Context) error
- func UserDelete(ctx echo.Context) error
- func UserEdit(ctx echo.Context) error
- func UserKick(ctx echo.Context) error
- func Verification(ctx echo.Context) error
- func VerificationDelete(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( File = file.File GetWatermarkOptions = storer.GetWatermarkOptions // SaveFilename SaveFilename(`0/`,“,`img.jpg`) SaveFilename = storer.SaveFilename CropOptions = modelFile.ImageOptions )
View Source
true, Name: echo.T(`设置`), Action: `manager`, Icon: `gear`, Children: (&navigate.List{ { Display: true, Name: echo.T(`系统设置`), Action: `settings`, }, { Display: true, Name: echo.T(`元数据`), Action: `kv`, }, { Display: false, Name: echo.T(`添加元数据`), Action: `kv_add`, }, { Display: false, Name: echo.T(`修改元数据`), Action: `kv_edit`, }, { Display: false, Name: echo.T(`删除元数据`), Action: `kv_delete`, }, { Display: true, Name: echo.T(`警报收信账号`), Action: `alert_recipient`, }, { Display: false, Name: echo.T(`添加警报收信账号`), Action: `alert_recipient_add`, }, { Display: false, Name: echo.T(`修改警报收信账号`), Action: `alert_recipient_edit`, }, { Display: false, Name: echo.T(`删除警报收信账号`), Action: `alert_recipient_delete`, }, { Display: false, Name: echo.T(`警报专题`), Action: `alert_topic`, }, { Display: false, Name: echo.T(`关联收信账号`), Action: `alert_topic_add`, }, { Display: false, Name: echo.T(`修改收信账号`), Action: `alert_topic_edit`, }, { Display: false, Name: echo.T(`取消关联收信账号`), Action: `alert_topic_delete`, }, { Display: false, Name: echo.T(`测试发送警报信息`), Action: `alert_recipient_test`, }, { Display: true, Name: echo.T(`用户管理`), Action: `user`, }, { Display: false, Name: echo.T(`添加用户`), Action: `user_add`, Icon: `plus`, }, { Display: false, Name: echo.T(`修改用户`), Action: `user_edit`, }, { Display: false, Name: echo.T(`删除用户`), Action: `user_delete`, }, { Display: false, Name: echo.T(`踢下线`), Action: `user_kick`, }, { Display: true, Name: echo.T(`角色管理`), Action: `role`, }, { Display: false, Name: echo.T(`添加角色`), Action: `role_add`, Icon: `plus`, }, { Display: false, Name: echo.T(`修改角色`), Action: `role_edit`, }, { Display: false, Name: echo.T(`删除角色`), Action: `role_delete`, }, { Display: true, Name: echo.T(`登录日志`), Action: `login_log`, }, { Display: false, Name: echo.T(`删除登录日志`), Action: `login_log_delete`, }, { Display: true, Name: echo.T(`邀请码`), Action: `invitation`, }, { Display: false, Name: echo.T(`添加邀请码`), Action: `invitation_add`, }, { Display: false, Name: echo.T(`修改邀请码`), Action: `invitation_edit`, }, { Display: false, Name: echo.T(`删除邀请码`), Action: `invitation_delete`, }, { Display: true, Name: echo.T(`验证码`), Action: `verification`, }, { Display: false, Name: echo.T(`删除验证码`), Action: `verification_delete`, }, { Display: false, Name: echo.T(`上传图片`), Action: `upload`, }, { Display: true, Name: echo.T(`本地附件`), Action: `uploaded/file`, }, { Display: false, Name: echo.T(`合并文件`), Action: `uploaded/merged`, }, { Display: false, Name: echo.T(`分片文件`), Action: `uploaded/chunk`, }, { Display: true, Name: echo.T(`清理缓存`), Action: `clear_cache`, Target: `ajax`, }, { Display: true, Name: echo.T(`重载环境变量`), Action: `reload_env`, Target: `ajax`, }, { Display: true, Name: echo.T(`后台oAuth应用`), Action: `oauth_app/index`, }, { Display: false, Name: echo.T(`添加后台oAuth应用`), Action: `oauth_app/add`, }, { Display: false, Name: echo.T(`修改后台oAuth应用`), Action: `oauth_app/edit/:id`, }, { Display: false, Name: echo.T(`删除后台oAuth应用`), Action: `oauth_app/delete/:id`, }, { Display: false, Name: echo.T(`程序升级`), Action: `upgrade`, }, }).Add(-1, file.TopNavigate...), }, { Display: true, Name: echo.T(`工具箱`), Action: `tool`, Icon: `suitcase`, Children: (&navigate.List{}).Add(-1, tool.TopNavigate...), }, }{ Display:
TopNavigate 顶部导航菜单
Functions ¶
func AlertRecipient ¶
func AlertRecipientAdd ¶
func AlertRecipientDelete ¶
func AlertRecipientEdit ¶
func AlertRecipientTest ¶
func AlertTopic ¶
func AlertTopicAdd ¶
func AlertTopicDelete ¶
func AlertTopicEdit ¶
func ClearCache ¶
func CropByOwner ¶
CropByOwner 图片裁剪
func Invitation ¶
func InvitationAdd ¶
func InvitationDelete ¶
func InvitationEdit ¶
func LoginLogDelete ¶
func RoleDelete ¶
func StorerEngine ¶
func UploadByOwner ¶
func UploadByOwner(ctx echo.Context, ownerType string, ownerID uint64, readBeforeHooks ...uploadClient.ReadBeforeHook) error
UploadByOwner 上传文件
func UploadedChunk ¶
func UploadedMerged ¶
func UserDelete ¶
func Verification ¶
func VerificationDelete ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.