Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CRUDServer ¶
type CRUDServer interface { Create(http.ResponseWriter, *http.Request, httprouter.Params) Delete(http.ResponseWriter, *http.Request, httprouter.Params) Update(http.ResponseWriter, *http.Request, httprouter.Params) Read(http.ResponseWriter, *http.Request, httprouter.Params) Path() string Router(*httprouter.Router) }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewCRUDServer ¶
func NewCRUDServer(servs ...CRUDServer) *Server
type SessionData ¶
func ParseSession ¶
func ParseSession(r *http.Request, name string) (*SessionData, error)
Click to show internal directories.
Click to hide internal directories.