mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-12 07:13:58 -05:00
* ResponseWriter wrapper to get status code For our metrics, we need the status code returned by a request so this wrapper includes a new method StatusCode() that includes the desired code * Shadow the responsewriter variable in the handlers In order to avoid confusion to people deciding what variable to use. I've also changed the tests to reflect this change and added a new one that checks the Flush method works |
||
|---|---|---|
| .. | ||
| jobs | ||
| mocks | ||
| account_migration.go | ||
| cluster.go | ||
| compliance.go | ||
| data_retention.go | ||
| ldap.go | ||
| message_export.go | ||
| metrics.go | ||
| mfa.go | ||
| notification.go | ||
| oauthproviders.go | ||
| saml.go | ||