1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-21 19:06:00 +00:00

app. SPA from router wrapper to a simple handler, works faster now. Iris' router respects wildcards with other paths as well (unique) for almost a half year now... so we don't need a whole wrapper for those things anymore, fixes https://github.com/kataras/iris/issues/807

Former-commit-id: 5bd7f24997bb025a01bb92960a1bf255f073a228
This commit is contained in:
kataras
2017-11-10 16:15:47 +02:00
parent 2a0c6dade6
commit 9640f59961
7 changed files with 45 additions and 127 deletions

View File

@@ -2573,7 +2573,7 @@ var errTransactionInterrupted = errors.New("transaction interrupted, recovery fr
// it's not covers all paths,
// such as databases, this should be managed by the libraries you use to make your database connection,
// this transaction scope is only for context's response.
// Transactions have their own middleware ecosystem also, look iris.go:UseTransaction.
// Transactions have their own middleware ecosystem also.
//
// See https://github.com/kataras/iris/tree/master/_examples/ for more
func (ctx *context) BeginTransaction(pipe func(t *Transaction)) {