{"modulePath":"github.com/RedAFD/code-core","version":"v1.8.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package admin\n\n## Functions\n\n```go\nfunc Authentications(ctx *context.Context)\n```\nAuthentications show authentication config page\n\n```go\nfunc Config(ctx *context.Context)\n```\nConfig show admin config page\n\n```go\nfunc Dashboard(ctx *context.Context)\n```\nDashboard show admin panel dashboard\n\n```go\nfunc DeleteAuthSource(ctx *context.Context)\n```\nDeleteAuthSource response for deleting an auth source\n\n```go\nfunc DeleteNotices(ctx *context.Context)\n```\nDeleteNotices delete the specific notices\n\n```go\nfunc DeleteRepo(ctx *context.Context)\n```\nDeleteRepo delete one repository\n\n```go\nfunc DeleteUser(ctx *context.Context)\n```\nDeleteUser response for deleting a user\n\n```go\nfunc EditAuthSource(ctx *context.Context)\n```\nEditAuthSource render editing auth source page\n\n```go\nfunc EditAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)\n```\nEditAuthSourcePost response for editing auth source\n\n```go\nfunc EditUser(ctx *context.Context)\n```\nEditUser show editting user page\n\n```go\nfunc EditUserPost(ctx *context.Context, form auth.AdminEditUserForm)\n```\nEditUserPost response for editting user\n\n```go\nfunc EmptyNotices(ctx *context.Context)\n```\nEmptyNotices delete all the notices\n\n```go\nfunc Monitor(ctx *context.Context)\n```\nMonitor show admin monitor page\n\n```go\nfunc NewAuthSource(ctx *context.Context)\n```\nNewAuthSource render adding a new auth source page\n\n```go\nfunc NewAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)\n```\nNewAuthSourcePost response for adding an auth source\n\n```go\nfunc NewUser(ctx *context.Context)\n```\nNewUser render adding a new user page\n\n```go\nfunc NewUserPost(ctx *context.Context, form auth.AdminCreateUserForm)\n```\nNewUserPost response for adding a new user\n\n```go\nfunc Notices(ctx *context.Context)\n```\nNotices show notices for admin\n\n```go\nfunc Organizations(ctx *context.Context)\n```\nOrganizations show all the organizations\n\n```go\nfunc Repos(ctx *context.Context)\n```\nRepos show all the repositories\n\n```go\nfunc SendTestMail(ctx *context.Context)\n```\nSendTestMail send test mail to confirm mail service is OK\n\n```go\nfunc Users(ctx *context.Context)\n```\nUsers show all the users\n\n## Types\n\n```go\ntype Operation int\n```\nOperation Operation types.\n\n","path":"github.com/RedAFD/code-core/routers/admin","name":"admin","synopsis":"","isRedistributable":true}
