Documentation ¶ Index ¶ type Config type NetClient func NewNetClient(address string, conf Config) (*NetClient, error) func (nc *NetClient) Close() error func (nc *NetClient) Config() *netx.Config func (nc *NetClient) Request(data, dataType string, variableMap map[string]any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Network string DialTimeout time.Duration WriteTimeout time.Duration ReadTimeout time.Duration RetryDelay time.Duration ReadSize int MaxRetries int } type NetClient ¶ type NetClient struct { // contains filtered or unexported fields } func NewNetClient ¶ func NewNetClient(address string, conf Config) (*NetClient, error) func (*NetClient) Close ¶ func (nc *NetClient) Close() error func (*NetClient) Config ¶ func (nc *NetClient) Config() *netx.Config func (*NetClient) Request ¶ func (nc *NetClient) Request(data, dataType string, variableMap map[string]any) error Source Files ¶ View all Source files netxclient.go Click to show internal directories. Click to hide internal directories.