Documentation ¶
Overview ¶
Page for special rights
Index ¶
- func Admin(w http.ResponseWriter, r *http.Request)
- func AdminFuncs(w http.ResponseWriter, r *http.Request)
- func ChangeEmail(w http.ResponseWriter, r *http.Request)
- func ChangePass(w http.ResponseWriter, r *http.Request)
- func ChangePassword(w http.ResponseWriter, r *http.Request)
- func ChangeUserEmail(w http.ResponseWriter, r *http.Request)
- func ConfirmEmail(w http.ResponseWriter, r *http.Request)
- func EmailNotVery(w http.ResponseWriter, r *http.Request, mailsend string)
- func FP(w http.ResponseWriter, r *http.Request)
- func ForgotPassword(w http.ResponseWriter, r *http.Request)
- func IndexPage(w http.ResponseWriter, r *http.Request)
- func InsertIntoDB()
- func LogOut(w http.ResponseWriter, r *http.Request)
- func Maintenance(w http.ResponseWriter, r *http.Request)
- func Markdownify(data interface{}) template.HTML
- func NotFound(w http.ResponseWriter, r *http.Request)
- func NotFoundAny(w http.ResponseWriter, r *http.Request)
- func PreEmailNotVery(w http.ResponseWriter, r *http.Request, uname string)
- func Profile(w http.ResponseWriter, r *http.Request)
- func ReqNewEmail(w http.ResponseWriter, r *http.Request)
- func ReturnFPPage(w http.ResponseWriter, r *http.Request, title string, content []string)
- func SelectFromDB()
- func Semafor(w http.ResponseWriter, r *http.Request)
- func SendConfMail(w http.ResponseWriter, r *http.Request)
- func SendConfirmationEmail(mail string, uname string)
- func Signin(w http.ResponseWriter, r *http.Request)
- func Signup(w http.ResponseWriter, r *http.Request)
- func SysAPI(w http.ResponseWriter, r *http.Request)
- func UpdateDB()
- func UserAPI(w http.ResponseWriter, r *http.Request)
- type ContentData
- type Credentials
- type ForgotPass
- type HTMLContentData
- type HTMLData
- func (r *HTMLData) BodyToHTML(body []string)
- func (data *HTMLData) ContentToData(r *http.Request)
- func (r *HTMLData) HTMLBodyToHTML(body []template.HTML)
- func (r *HTMLData) HeaderToHTML(Title string)
- func (r *HTMLData) JstoHtml(files []string)
- func (r *HTMLData) MenuToHTML(Login bool, Admin bool)
- func (r *HTMLData) RegDataToHTML(reg bool)
- func (s *HTMLData) ServicePage(name string, w http.ResponseWriter, r *http.Request)
- func (data *HTMLData) ShowPage(w http.ResponseWriter, r *http.Request, page string)
- func (r *HTMLData) StandartInfo()
- type HeaderData
- type Jsdata
- type Lang
- type MenuData
- type RequestStruct
- type Roles
- type SignUpCred
- type SiteSettingsTable
- type SiteStruct
- type SysData
- type SysMsgData
- type TimeHash
- type User
- type UsersTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminFuncs ¶
func AdminFuncs(w http.ResponseWriter, r *http.Request)
func ChangeEmail ¶
func ChangeEmail(w http.ResponseWriter, r *http.Request)
func ChangePass ¶
func ChangePass(w http.ResponseWriter, r *http.Request)
func ChangePassword ¶
func ChangePassword(w http.ResponseWriter, r *http.Request)
func ChangeUserEmail ¶
func ChangeUserEmail(w http.ResponseWriter, r *http.Request)
func ConfirmEmail ¶
func ConfirmEmail(w http.ResponseWriter, r *http.Request)
func EmailNotVery ¶
func EmailNotVery(w http.ResponseWriter, r *http.Request, mailsend string)
func ForgotPassword ¶
func ForgotPassword(w http.ResponseWriter, r *http.Request)
func InsertIntoDB ¶
func InsertIntoDB()
func Maintenance ¶
func Maintenance(w http.ResponseWriter, r *http.Request)
func Markdownify ¶
func NotFoundAny ¶
func NotFoundAny(w http.ResponseWriter, r *http.Request)
func PreEmailNotVery ¶
func PreEmailNotVery(w http.ResponseWriter, r *http.Request, uname string)
func ReqNewEmail ¶
func ReqNewEmail(w http.ResponseWriter, r *http.Request)
func ReturnFPPage ¶
func SelectFromDB ¶
func SelectFromDB()
func SendConfMail ¶
func SendConfMail(w http.ResponseWriter, r *http.Request)
func SendConfirmationEmail ¶
Types ¶
type ContentData ¶
type Credentials ¶
type ForgotPass ¶
type ForgotPass struct {
Mail string `json:"mail", db:"mail"`
}
type HTMLContentData ¶
type HTMLData ¶
type HTMLData struct { Header HeaderData SysMsg SysMsgData Menu MenuData Page template.HTML Content ContentData HTMLContent HTMLContentData Site SiteStruct IsTranslated bool }
func (*HTMLData) BodyToHTML ¶
func (*HTMLData) ContentToData ¶
func (*HTMLData) HTMLBodyToHTML ¶
func (*HTMLData) HeaderToHTML ¶
func (*HTMLData) MenuToHTML ¶
func (*HTMLData) RegDataToHTML ¶
func (*HTMLData) ServicePage ¶
func (*HTMLData) StandartInfo ¶
func (r *HTMLData) StandartInfo()
type HeaderData ¶
type Params map[string]interface{}
type ParamsStruct struct { description string name string custom_css []string custom_js []string disableFonts bool
}
type RequestStruct ¶
type RequestStruct struct {
Method string
}
type SignUpCred ¶
type SiteSettingsTable ¶
type SiteStruct ¶
type SysMsgData ¶
type UsersTable ¶
type UsersTable struct { UID string `db:"id"` Name string `db:"name"` Password string `db:"pass"` Mail string `db:"mail"` MailConfirmed int `db:"mail_confirmed"` MailSent string `db:"mailsent"` Created string `db:"created"` Access string `db:"access"` Login string `db:"login"` Status int `db:"status"` Completed int `db:"completed"` }
Click to show internal directories.
Click to hide internal directories.