Versions in this module Expand all Collapse all v2 v2.1.1 Dec 9, 2025 v2.0.0 Jun 18, 2023 Changes in this version + type Config struct + Headers map[string]string + Insecure bool + Password string + URL string + Username string + type Endpoint struct + BaseURL *url.URL + Client *http.Client + Config Config + GatewayID string + GwCfg *gwTY.Config + func New(logger *zap.Logger, gwCfg *gwTY.Config, apiPrefix string) (*Endpoint, error) + func (ep *Endpoint) Close() error + func (ep *Endpoint) Write(rawMsg *msgTY.RawMessage) error + type RequestConfig struct + Method string + Path string + QueryParams map[string]interface{} + ResponseCode int + type ResponseConfig struct + FullPath string + Headers map[string]string + Method string + Path string + StatusCode int