diff options
| author | Jeff Carr <[email protected]> | 2025-09-22 01:50:47 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-22 01:50:47 -0500 | 
| commit | 1905db1f6a07a4ab3073ac6476f56fa0189e568f (patch) | |
| tree | 55ace3fcd82f984031d28c31680687ea59d009c3 | |
| parent | 3306e3cbbc48eea6eb2666c8f3d5a2f250db46a3 (diff) | |
add something to print out a http PBv0.0.10
| -rw-r--r-- | httpRequest.dump.go | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/httpRequest.dump.go b/httpRequest.dump.go index 07ac38e..293d1bb 100644 --- a/httpRequest.dump.go +++ b/httpRequest.dump.go @@ -2,6 +2,8 @@ package httppb  import (  	"fmt" + +	"go.wit.com/log"  )  func (pb *HttpRequest) DumpRemoteAddr() string { @@ -21,6 +23,7 @@ func (pb *HttpRequest) DumpUserAgent() string {  // todo: convert this code  func (pb *HttpRequest) DumpClient() { +	log.Infof("%s %s %s\n", pb.Host, pb.URL, pb.RemoteAddr)  	/*  		var host, url, proto, addr, agent string  | 
