Versions in this module Expand all Collapse all v1 v1.0.2 Jun 1, 2024 Changes in this version + func CreateHeadersForLog(headers http.Header) string + func CreateRequestInfoForLog(method string, url string, body string, headers http.Header) string + func CreateStringArrayForLog(v []string) string + func NewRequestRepeatPause(method string, url string, body string, headers map[string]string, ...) ([]byte, error, http.Header, int) v1.0.0 May 16, 2020 Changes in this version + const KindDbConnection + const KindTcpForward + const LogDebug + const LogDetail + const LogError + const LogFatal + const LogInfo + const LogTrace + const LogWarning + var AveragePersistentOptions = map[string]interface + var KeepAliveNetPool = float64(keepAliveDefault) + var Log = LogError + var NetPool = make(map[string][]*NetPoolItem) + func CloseNetConn(conn *net.Conn) + func CloseNetConnPoolForId(id string) + func CloseNetPoolItem(item *NetPoolItem) + func CloseNetPoolItemAtIndex(id string, index int) + func Forward(host string, targetHost string) + func ForwardClose(id string) + func GetAveragePersistentOptions() map[string]interface + func GetForwardId(host string, targetHost string) (string, string, string) + func GetIntegerOption(options map[string]interface{}, name string, defValue int) int + func InitBySettings(parameters map[string]string, functionPool map[string]interface{}) + func LoadStruct(method string, url string, body string, headers map[string]string, ...) error + func LoadStructFormUrlEncoded(method string, url string, body interface{}, headers map[string]string, ...) error + func NewJsonRequest(method string, url string, body string, headers map[string]string, ...) ([]byte, error) + func NewRequest(method string, url string, body string, headers map[string]string, ...) ([]byte, error) + func StopAllForwarding() + func StopForwardingByHostTarget(host string, target string) + func UpdatePropertiesThruNetRequest(request string) error + func UrlEncodedPart(data interface{}) string + func ValidateHostTargetForPortForwarding(host string, target string) bool + type NetPoolItem struct + func PlaceToNetPool(id string, client *net.Conn, target *net.Conn, kind int) *NetPoolItem