network

package
v1.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(
	networkTimeout time.Duration,
	skipServerCertVerification bool,
)

Initialize creates a singleton instance for the network package to make HTTP request to external web services

func NewNetworkRequest

func NewNetworkRequest(
	session sessionModel.Session,
	method string,
	url string,
	payload string,
	header map[string]string,
	sendClientCert bool,
) model.NetworkRequest

NewNetworkRequest creates a new network request for consumer to use

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL