Documentation
¶
Index ¶
- Constants
- Variables
- func BindHandlers(urls []*Url)
- func DefaultServer()
- func ErrorTemplate(stack string, traceback string) string
- func Exception(req *Request)
- func MakeServer(cfg conf.Configurer)
- type HttpError
- type MailConn
- type Message
- type Paginator
- type Request
- func (r *Request) ConvertArgument(key string, f interface{})
- func (r *Request) ConvertArguments(f interface{})
- func (r *Request) GetArgument(key string) interface{}
- func (r *Request) GetArguments() *utils.Q
- func (r *Request) GetPaginator() *Paginator
- func (r *Request) Raise(e HttpError)
- func (r *Request) Write(data interface{})
- type Url
- type WireSender
Constants ¶
View Source
const ERROR = "An Internal Error has occured while processing this Request." +
"If you believe this is an Error, please contact support team."
View Source
const PAGE_SIZE = 30
View Source
const SKIP = 0
Variables ¶
View Source
var SysInitChan = make(chan bool, 1)
Functions ¶
func BindHandlers ¶
func BindHandlers(urls []*Url)
func DefaultServer ¶
func DefaultServer()
func ErrorTemplate ¶
func MakeServer ¶
func MakeServer(cfg conf.Configurer)
Types ¶
type HttpError ¶
func (HttpError) SendOverWire ¶
type MailConn ¶
type MailConn struct { Hostname string Username string Password string SenderName string Port string Host string }
func (*MailConn) MessageBytes ¶
type Request ¶
type Request struct { Request *http.Request Writer http.ResponseWriter UrlArgs *map[string]string PipeOutput *[]utils.Q PipeIndex int // contains filtered or unexported fields }
func (*Request) ConvertArgument ¶
func (*Request) ConvertArguments ¶
func (r *Request) ConvertArguments(f interface{})
func (*Request) GetArgument ¶
func (*Request) GetArguments ¶
func (*Request) GetPaginator ¶
type WireSender ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.