mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-07 03:25:37 +00:00
14 lines
241 B
Go
14 lines
241 B
Go
package tlstapper
|
|
|
|
import "github.com/up9inc/mizu/tap/api"
|
|
|
|
type tlsEmitter struct {
|
|
delegate api.Emitter
|
|
namespace string
|
|
}
|
|
|
|
func (e *tlsEmitter) Emit(item *api.OutputChannelItem) {
|
|
item.Namespace = e.namespace
|
|
e.delegate.Emit(item)
|
|
}
|