Documentation ¶
Index ¶
- func AboutRoute(res http.ResponseWriter, req *http.Request)
- func AddSafeHeaders(w http.ResponseWriter)
- func ContactRoute(res http.ResponseWriter, req *http.Request)
- func IndexRoute(res http.ResponseWriter, req *http.Request)
- func LoadTemplates()
- func LoginHandler(res http.ResponseWriter, request *http.Request)
- func LogoutHandler(res http.ResponseWriter, request *http.Request)
- func PersonalTimelineHandler(res http.ResponseWriter, req *http.Request)
- func PersonalTimelineMore(res http.ResponseWriter, req *http.Request)
- func PersonalTimelineRoute(res http.ResponseWriter, req *http.Request)
- func PublicTimelineRoute(res http.ResponseWriter, req *http.Request)
- func RegisterHandler(res http.ResponseWriter, r *http.Request)
- func ShowSignUpError(res http.ResponseWriter, r *http.Request, errorMsg string)
- func SigninRoute(res http.ResponseWriter, req *http.Request)
- func SignupRoute(res http.ResponseWriter, req *http.Request)
- func UserFollowHandler(res http.ResponseWriter, req *http.Request)
- func UserUnfollowHandler(res http.ResponseWriter, req *http.Request)
- func UserpageRoute(res http.ResponseWriter, req *http.Request)
- type Post
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AboutRoute ¶
func AboutRoute(res http.ResponseWriter, req *http.Request)
func AddSafeHeaders ¶
func AddSafeHeaders(w http.ResponseWriter)
func ContactRoute ¶
func ContactRoute(res http.ResponseWriter, req *http.Request)
func IndexRoute ¶
func IndexRoute(res http.ResponseWriter, req *http.Request)
func LoadTemplates ¶
func LoadTemplates()
func LoginHandler ¶
func LoginHandler(res http.ResponseWriter, request *http.Request)
func LogoutHandler ¶
func LogoutHandler(res http.ResponseWriter, request *http.Request)
func PersonalTimelineHandler ¶
func PersonalTimelineHandler(res http.ResponseWriter, req *http.Request)
func PersonalTimelineMore ¶
func PersonalTimelineMore(res http.ResponseWriter, req *http.Request)
func PersonalTimelineRoute ¶
func PersonalTimelineRoute(res http.ResponseWriter, req *http.Request)
func PublicTimelineRoute ¶
func PublicTimelineRoute(res http.ResponseWriter, req *http.Request)
func RegisterHandler ¶
func RegisterHandler(res http.ResponseWriter, r *http.Request)
func ShowSignUpError ¶
func ShowSignUpError(res http.ResponseWriter, r *http.Request, errorMsg string)
func SigninRoute ¶
func SigninRoute(res http.ResponseWriter, req *http.Request)
func SignupRoute ¶
func SignupRoute(res http.ResponseWriter, req *http.Request)
func UserFollowHandler ¶
func UserFollowHandler(res http.ResponseWriter, req *http.Request)
func UserUnfollowHandler ¶
func UserUnfollowHandler(res http.ResponseWriter, req *http.Request)
func UserpageRoute ¶
func UserpageRoute(res http.ResponseWriter, req *http.Request)
Types ¶
Click to show internal directories.
Click to hide internal directories.