Versions in this module Expand all Collapse all v1 v1.2.0 May 16, 2014 Changes in this version + type BeegoInput struct + CruSession session.SessionStore + Data map[interface{}]interface{} + Params map[string]string + Request *http.Request + RequestBody []byte + RunController reflect.Type + RunMethod string + func NewInput(req *http.Request) *BeegoInput + func (input *BeegoInput) Bind(dest interface{}, key string) error + func (input *BeegoInput) Cookie(key string) string + func (input *BeegoInput) CopyBody() []byte + func (input *BeegoInput) Domain() string + func (input *BeegoInput) GetData(key interface{}) interface{} + func (input *BeegoInput) Header(key string) string + func (input *BeegoInput) Host() string + func (input *BeegoInput) IP() string + func (input *BeegoInput) Is(method string) bool + func (input *BeegoInput) IsAjax() bool + func (input *BeegoInput) IsDelete() bool + func (input *BeegoInput) IsGet() bool + func (input *BeegoInput) IsHead() bool + func (input *BeegoInput) IsOptions() bool + func (input *BeegoInput) IsPatch() bool + func (input *BeegoInput) IsPost() bool + func (input *BeegoInput) IsPut() bool + func (input *BeegoInput) IsSecure() bool + func (input *BeegoInput) IsUpload() bool + func (input *BeegoInput) IsWebsocket() bool + func (input *BeegoInput) Method() string + func (input *BeegoInput) Param(key string) string + func (input *BeegoInput) ParseFormOrMulitForm(maxMemory int64) error + func (input *BeegoInput) Port() int + func (input *BeegoInput) Protocol() string + func (input *BeegoInput) Proxy() []string + func (input *BeegoInput) Query(key string) string + func (input *BeegoInput) Refer() string + func (input *BeegoInput) Scheme() string + func (input *BeegoInput) Session(key interface{}) interface{} + func (input *BeegoInput) SetData(key, val interface{}) + func (input *BeegoInput) Site() string + func (input *BeegoInput) SubDomains() string + func (input *BeegoInput) Uri() string + func (input *BeegoInput) Url() string + func (input *BeegoInput) UserAgent() string + type BeegoOutput struct + Context *Context + EnableGzip bool + Status int + func NewOutput() *BeegoOutput + func (output *BeegoOutput) Body(content []byte) + func (output *BeegoOutput) ContentType(ext string) + func (output *BeegoOutput) Cookie(name string, value string, others ...interface{}) + func (output *BeegoOutput) Download(file string) + func (output *BeegoOutput) Header(key, val string) + func (output *BeegoOutput) IsCachable(status int) bool + func (output *BeegoOutput) IsClientError(status int) bool + func (output *BeegoOutput) IsEmpty(status int) bool + func (output *BeegoOutput) IsForbidden(status int) bool + func (output *BeegoOutput) IsNotFound(status int) bool + func (output *BeegoOutput) IsOk(status int) bool + func (output *BeegoOutput) IsRedirect(status int) bool + func (output *BeegoOutput) IsServerError(status int) bool + func (output *BeegoOutput) IsSuccessful(status int) bool + func (output *BeegoOutput) Json(data interface{}, hasIndent bool, coding bool) error + func (output *BeegoOutput) Jsonp(data interface{}, hasIndent bool) error + func (output *BeegoOutput) Session(name interface{}, value interface{}) + func (output *BeegoOutput) SetStatus(status int) + func (output *BeegoOutput) Xml(data interface{}, hasIndent bool) error + type Context struct + Input *BeegoInput + Output *BeegoOutput + Request *http.Request + ResponseWriter http.ResponseWriter + func (ctx *Context) Abort(status int, body string) + func (ctx *Context) GetCookie(key string) string + func (ctx *Context) GetSecureCookie(Secret, key string) (string, bool) + func (ctx *Context) Redirect(status int, localurl string) + func (ctx *Context) SetCookie(name string, value string, others ...interface{}) + func (ctx *Context) SetSecureCookie(Secret, name, value string, others ...interface{}) + func (ctx *Context) WriteString(content string) v1.0.1 Dec 24, 2013