Back to

Package flowstats

Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: Apache-2.0 | Module:


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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier