Documentation ¶
Index ¶
- type Impl
- func (i *Impl) Body() io.Reader
- func (i *Impl) FromRequest(r *http.Request) *Impl
- func (i *Impl) Header(name string) (value string, found bool)
- func (i *Impl) Host() string
- func (i *Impl) IsCrossOrigin() bool
- func (i *Impl) Json(v interface{}) (err error)
- func (i *Impl) Method() string
- func (i *Impl) Path() string
- func (i *Impl) PathVar(name string) string
- func (i *Impl) RemoteIp() string
- func (i *Impl) Request() *http.Request
- func (i *Impl) Scheme() string
- func (i *Impl) SetPathVar(name, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
Impl is the internal implementation of |ghost.Context|. It is not goroutine-safe, so DO NOT use it in multi-goroutine.
func (*Impl) IsCrossOrigin ¶ added in v0.1.2
func (*Impl) SetPathVar ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.