Versions in this module Expand all Collapse all v5 v5.100.1 Jun 2, 2020 v5.100.0 May 26, 2020 Changes in this version + var ErrLocalRequestFailed = Error + var ErrNotEnabled = Error + type AtmosCamoBackend struct + func (backend *AtmosCamoBackend) GetImage(w http.ResponseWriter, r *http.Request, imageURL string) + func (backend *AtmosCamoBackend) GetImageDirect(imageURL string) (io.ReadCloser, string, error) + type Error struct + type ImageProxy struct + ConfigService configservice.ConfigService + HTTPService httpservice.HTTPService + Logger *mlog.Logger + func MakeImageProxy(configService configservice.ConfigService, httpService httpservice.HTTPService, ...) *ImageProxy + func (proxy *ImageProxy) Close() + func (proxy *ImageProxy) GetImage(w http.ResponseWriter, r *http.Request, imageURL string) + func (proxy *ImageProxy) GetImageDirect(imageURL string) (io.ReadCloser, string, error) + func (proxy *ImageProxy) GetProxiedImageURL(imageURL string) string + func (proxy *ImageProxy) GetUnproxiedImageURL(proxiedURL string) string + func (proxy *ImageProxy) OnConfigChange(oldConfig, newConfig *model.Config) + type ImageProxyBackend interface + GetImage func(w http.ResponseWriter, r *http.Request, imageURL string) + GetImageDirect func(imageURL string) (io.ReadCloser, string, error) + type LocalBackend struct + func (backend *LocalBackend) GetImage(w http.ResponseWriter, r *http.Request, imageURL string) + func (backend *LocalBackend) GetImageDirect(imageURL string) (io.ReadCloser, string, error) Other modules containing this package github.com/mad-app/mattermost-server