Imports github.com/mattermost/mattermost-server/model github.com/mssola/user_agent github.com/alecthomas/log4go github.com/mattermost/mattermost-server/api github.com/mattermost/mattermost-server/utils github.com/NYTimes/gziphandler Standard library imports net/http strings