mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Add GetReporter method for getting the Reporter
Former-commit-id: 4c3f6144c2303b2f8f740251335454a80f51d457
This commit is contained in:
parent
093d087a68
commit
68a28b3a5d
|
@ -108,6 +108,11 @@ func (rb *APIBuilder) GetReport() error {
|
|||
return rb.reporter.Return()
|
||||
}
|
||||
|
||||
// GetReporter returns the reporter for adding errors
|
||||
func (rb *APIBuilder) GetReporter() *errors.Reporter {
|
||||
return rb.reporter
|
||||
}
|
||||
|
||||
// Handle registers a route to the server's rb.
|
||||
// if empty method is passed then handler(s) are being registered to all methods, same as .Any.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user