trireme-lib: go.aporeto.io/trireme-lib/controller/internal/enforcer/flowstats Index | Files

package flowstats

import "go.aporeto.io/trireme-lib/controller/internal/enforcer/flowstats"

Index

Package Files

state.go

type ConnectionState Uses

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 Uses

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

NewAppConnectionState will create the initial connection state object.

func NewNetworkConnectionState Uses

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

NewNetworkConnectionState will create the initial connection state object.

Package flowstats imports 6 packages (graph) and is imported by 4 packages. Updated 2019-12-22. Refresh now. Tools for package owners.