Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The amount of files in the stack to be retrieved. StackDepth = 200 // How many files to move up in the runtime.Caller // before obtaining the stack. StackSkip = 2 )
View Source
const (
MainLayout = "layout.gohtml"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Data ¶
type Data struct { Error error StatusCode int Request *http.Request //Stack trace.Stack Debug bool }
Data represents the main struct for sending back data to the template for recovery.
type Request ¶
type Request struct { URL string Method string IP string Referer string DataLength int64 Body string Headers map[string][]string Query map[string][]string Cookies []*http.Cookie }
Request represents the data obtained from the context with detailed information about the http request made.
Click to show internal directories.
Click to hide internal directories.