Documentation ¶
Index ¶
- func AllSessions(w http.ResponseWriter, r *http.Request) (interface{}, interface{})
- func EqualPassword(hashedPassword string, password string) bool
- func GeneratePassword(password string) string
- func GetSession(w http.ResponseWriter, r *http.Request) *sessions.Session
- func Invalid(w http.ResponseWriter, r *http.Request, what int)
- func LoggedIn(w http.ResponseWriter, r *http.Request, urlRedirect string)
- func NotLoggedIn(w http.ResponseWriter, r *http.Request)
- func Server()
- func StringWithCharset(length int, charset string) string
- type Data
- type Id2
- type Mail2
- type Todo
- type TodoPageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllSessions ¶
func AllSessions(w http.ResponseWriter, r *http.Request) (interface{}, interface{})
AllSessions 겟 세션
func EqualPassword ¶
func GeneratePassword ¶
func GetSession ¶
GetSession 세션 추출
func LoggedIn ¶
func LoggedIn(w http.ResponseWriter, r *http.Request, urlRedirect string)
LoggedIn 로그인 되었는지 판단
func NotLoggedIn ¶
func NotLoggedIn(w http.ResponseWriter, r *http.Request)
NotLoggedIn 로그인이 안되었는지 확인
func StringWithCharset ¶
Types ¶
type TodoPageData ¶
Click to show internal directories.
Click to hide internal directories.