mirror of
https://github.com/buger/goreplay.git
synced 2026-10-19 16:15:42 +00:00
18 lines
364 B
Go
18 lines
364 B
Go
//go:build !pro
|
|
|
|
package goreplay
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// PRO this value indicates if goreplay is running in PRO mode.
|
|
var PRO = false
|
|
|
|
func SettingsHook(settings *AppSettings) {
|
|
if settings.RecognizeTCPSessions {
|
|
settings.RecognizeTCPSessions = false
|
|
fmt.Println("[ERROR] TCP session recognition is not supported in the open-source version of GoReplay")
|
|
}
|
|
}
|