Documentation ¶
Index ¶
- func IsMethod(method string) bool
- type Context
- type Cookie
- func (c Cookie) Domain(domain string) Cookie
- func (c Cookie) Expires(expires time.Time) Cookie
- func (c Cookie) HttpOnly(httpOnly bool) Cookie
- func (c Cookie) MaxAge(maxAge time.Duration) Cookie
- func (c Cookie) Name() string
- func (c Cookie) Path(path string) Cookie
- func (c Cookie) SameSite(sameSite SameSite) Cookie
- func (c Cookie) Secure(secure bool) Cookie
- func (c Cookie) ToHeader() string
- func (c Cookie) Value() string
- type FormData
- type Handler
- type Method
- type Request
- type Response
- type Route
- type Router
- type SameSite
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cookie ¶
type Cookie struct {
// contains filtered or unexported fields
}
func CookiesFromHeader ¶
type Request ¶
type Request struct { Method Method // Version string Host string RequestURI string Headers map[string]string FormData FormData Cookies []Cookie Body []byte }
func CreateRequest ¶
Click to show internal directories.
Click to hide internal directories.