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: `设置`, Action: `manager`, Icon: `gear`, Children: (&navigate.List{ { Display: true, Name: `系统设置`, Action: `settings`, }, { Display: true, Name: `元数据`, Action: `kv`, }, { Display: false, Name: `添加元数据`, Action: `kv_add`, }, { Display: false, Name: `修改元数据`, Action: `kv_edit`, }, { Display: false, Name: `删除元数据`, Action: `kv_delete`, }, { Display: true, Name: `警报收信账号`, Action: `alert_recipient`, }, { Display: false, Name: `添加警报收信账号`, Action: `alert_recipient_add`, }, { Display: false, Name: `修改警报收信账号`, Action: `alert_recipient_edit`, }, { Display: false, Name: `删除警报收信账号`, Action: `alert_recipient_delete`, }, { Display: false, Name: `警报专题`, Action: `alert_topic`, }, { Display: false, Name: `关联收信账号`, Action: `alert_topic_add`, }, { Display: false, Name: `修改收信账号`, Action: `alert_topic_edit`, }, { Display: false, Name: `取消关联收信账号`, Action: `alert_topic_delete`, }, { Display: false, Name: `测试发送警报信息`, Action: `alert_recipient_test`, }, { Display: true, Name: `用户管理`, Action: `user`, }, { Display: false, Name: `添加用户`, Action: `user_add`, Icon: `plus`, }, { Display: false, Name: `修改用户`, Action: `user_edit`, }, { Display: false, Name: `删除用户`, Action: `user_delete`, }, { Display: false, Name: `踢下线`, Action: `user_kick`, }, { Display: true, Name: `角色管理`, Action: `role`, }, { Display: false, Name: `添加角色`, Action: `role_add`, Icon: `plus`, }, { Display: false, Name: `修改角色`, Action: `role_edit`, }, { Display: false, Name: `删除角色`, Action: `role_delete`, }, { Display: true, Name: `登录日志`, Action: `login_log`, }, { Display: false, Name: `删除登录日志`, Action: `login_log_delete`, }, { Display: true, Name: `邀请码`, Action: `invitation`, }, { Display: false, Name: `添加邀请码`, Action: `invitation_add`, }, { Display: false, Name: `修改邀请码`, Action: `invitation_edit`, }, { Display: false, Name: `删除邀请码`, Action: `invitation_delete`, }, { Display: true, Name: `验证码`, Action: `verification`, }, { Display: false, Name: `删除验证码`, Action: `verification_delete`, }, { Display: false, Name: `上传图片`, Action: `upload`, }, { Display: true, Name: `本地附件`, Action: `uploaded/file`, }, { Display: false, Name: `合并文件`, Action: `uploaded/merged`, }, { Display: false, Name: `分片文件`, Action: `uploaded/chunk`, }, { Display: true, Name: `清理缓存`, Action: `clear_cache`, Target: `ajax`, }, { Display: true, Name: `重载环境变量`, Action: `reload_env`, Target: `ajax`, }, { Display: true, Name: `oAuth应用`, Action: `oauth_app/index`, }, { Display: false, Name: `添加oAuth应用`, Action: `oauth_app/add`, }, { Display: false, Name: `修改oAuth应用`, Action: `oauth_app/edit/:id`, }, { Display: false, Name: `删除oAuth应用`, Action: `oauth_app/delete/:id`, }, { Display: false, Name: `程序升级`, Action: `upgrade`, }, }).Add(-1, file.TopNavigate...), }, { Display: true, Name: `工具箱`, 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.