Versions in this module Expand all Collapse all v6 v6.0.0 Dec 23, 2020 Changes in this version + const ConnectTimeout + const RequestTimeout + var AddressForbidden error = errors.New(...) + func IsOwnIP(ip net.IP) (bool, error) + func IsReservedIP(ip net.IP) bool + type DialContextFunction func(ctx context.Context, network, addr string) (net.Conn, error) + type HTTPService interface + MakeClient func(trustURLs bool) *http.Client + MakeTransport func(trustURLs bool) *MattermostTransport + func MakeHTTPService(configService configservice.ConfigService) HTTPService + type HTTPServiceImpl struct + RequestTimeout time.Duration + func (h *HTTPServiceImpl) MakeClient(trustURLs bool) *http.Client + func (h *HTTPServiceImpl) MakeTransport(trustURLs bool) *MattermostTransport + type MattermostTransport struct + Transport http.RoundTripper + func NewTransport(enableInsecureConnections bool, allowHost func(host string) bool, ...) *MattermostTransport + func (t *MattermostTransport) RoundTrip(req *http.Request) (*http.Response, error) Other modules containing this package github.com/adacta-ru/mattermost-server github.com/adacta-ru/mattermost-server/v5