flowstats

package
v10.300.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionState

type ConnectionState struct {
	Stats  *collector.FlowRecord
	Cookie *http.Cookie
}

ConnectionState captures the connection state. This state is passed to the RoundTripper for any last minute adjustments.

func NewAppConnectionState

func NewAppConnectionState(nativeID string, r *http.Request, authRequest *apiauth.Request, resp *apiauth.AppAuthResponse) *ConnectionState

NewAppConnectionState will create the initial connection state object.

func NewNetworkConnectionState

func NewNetworkConnectionState(nativeID string, userID string, r *apiauth.Request, d *apiauth.NetworkAuthResponse) *ConnectionState

NewNetworkConnectionState will create the initial connection state object.

Jump to

Keyboard shortcuts

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