fbnetwork

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkConfigImpl

type NetworkConfigImpl struct {
	DefaultHeaders         http.Header
	HTTPClientFactory      func() *http.Client
	WebsocketClientFactory func() *websocket.Dialer
}

func (NetworkConfigImpl) GetHTTPClient

func (n NetworkConfigImpl) GetHTTPClient() interfaces.NetworkClient

func (NetworkConfigImpl) GetHeaders

func (n NetworkConfigImpl) GetHeaders(headers map[string]string) http.Header

func (NetworkConfigImpl) GetWebsocketClient

func (n NetworkConfigImpl) GetWebsocketClient() interfaces.NetworkClient

Jump to

Keyboard shortcuts

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