mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-18 15:17:10 +00:00
Add Protocol struct and make it effect the UI
This commit is contained in:
@@ -111,7 +111,7 @@ func startReadingChannel(outputItems <-chan *tapApi.OutputChannelItem, extension
|
||||
|
||||
for item := range outputItems {
|
||||
fmt.Printf("item: %+v\n", item)
|
||||
extension := extensionsMap[item.Protocol]
|
||||
extension := extensionsMap[item.Protocol.Name]
|
||||
fmt.Printf("extension: %+v\n", extension)
|
||||
// var req *http.Request
|
||||
// marshedReq, _ := json.Marshal(item.Data.Request.Orig)
|
||||
|
||||
Reference in New Issue
Block a user