Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRequest ¶
func WithRequest(f RequestFunc) http.HandlerFunc
func WithTransaction ¶
func WithTransaction(f RequestFunc) http.HandlerFunc
Types ¶
type Request ¶
type Request struct { http.ResponseWriter *http.Request db.Transaction }
func (*Request) RenderFile ¶
func (*Request) RenderTemplate ¶
type RequestFunc ¶
type RequestFunc func(*Request)
Click to show internal directories.
Click to hide internal directories.