Documentation
¶
Overview ¶
Package server provides network listeners, e.g. an HTTP (web/REST/JSON) server.
Index ¶
- func DefaultAction(ctx *b.Context, spec m.Map, msg *b.Message, rsp http.ResponseWriter, ...)
- func DoneHandler(ctx *b.Context) (loop bool)
- func GetSid(hdrp *http.Header) (sid string)
- func LoginAction(ctx *b.Context, spec m.Map, msg *b.Message, rsp http.ResponseWriter, ...)
- func PollAction(ctx *b.Context, spec m.Map, pollmsg *b.Message, rsp http.ResponseWriter, ...)
- func Route(ctx *b.Context, rsp http.ResponseWriter, req *http.Request)
- func SetSid(hdr *http.Header, sid string)
- func StartServer(ctx *b.Context)
- func SyncAction(ctx *b.Context, spec m.Map, msg *b.Message, rsp http.ResponseWriter, ...)
- type RqActionHandler
- type ServerState
- type Session
- type Sessions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAction ¶
func DoneHandler ¶
func LoginAction ¶ added in v0.1.8
func PollAction ¶
func StartServer ¶
Types ¶
type RqActionHandler ¶
func GetActionHandler ¶
type ServerState ¶ added in v0.1.8
func (*ServerState) GetSessionMailbox ¶ added in v0.1.8
func (st *ServerState) GetSessionMailbox(sid string) chan b.Message
Click to show internal directories.
Click to hide internal directories.