Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggedOnly ¶
LoggedOnly rejects user with invalid loginToken Stores username in context
Types ¶
type ResponseWithCode ¶
type ResponseWithCode struct { http.ResponseWriter Code int }
ResponseWithCode ...
func NewResponseWithCode ¶
func NewResponseWithCode(w http.ResponseWriter) *ResponseWithCode
NewResponseWithCode ...
func (*ResponseWithCode) WriteHeader ¶
func (r *ResponseWithCode) WriteHeader(statuscode int)
WriteHeader ...
Click to show internal directories.
Click to hide internal directories.