mirror of https://github.com/anoshenko/rui.git
Update httpHandler.go
This commit is contained in:
parent
cbca1e7c87
commit
918fbf3473
|
@ -42,7 +42,7 @@ Example for echo:
|
||||||
func NewHandler(urlPrefix string, createContentFunc func(Session) SessionContent, params AppParams) *httpHandler {
|
func NewHandler(urlPrefix string, createContentFunc func(Session) SessionContent, params AppParams) *httpHandler {
|
||||||
app := new(application)
|
app := new(application)
|
||||||
app.params = params
|
app.params = params
|
||||||
app.sessions = map[int]Session{}
|
app.sessions = map[int]sessionInfo{}
|
||||||
app.createContentFunc = createContentFunc
|
app.createContentFunc = createContentFunc
|
||||||
apps = append(apps, app)
|
apps = append(apps, app)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue