Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestURL ¶
type RequestURL struct { Port int // contains filtered or unexported fields }
RequestURL simply returns the request url from REQUEST_URI header this should not be done in production applications
func (RequestURL) GetBaseURL ¶
func (m RequestURL) GetBaseURL() string
GetBaseURL implements `URLResolver` interface
func (*RequestURL) SetRequest ¶
func (m *RequestURL) SetRequest(r http.Request)
SetRequest to implement `RequestAwareResolverInterface`
Click to show internal directories.
Click to hide internal directories.