Documentation
¶
Overview ¶
Package samplepass shows how to implement an external-style Wiretap Pass. Copy this pattern into your own module and register via wiretap.RegisterPass.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MagicTHPass ¶
type MagicTHPass struct{}
MagicTHPass looks for ASCII "TH" at offset 0 across messages.
func (MagicTHPass) Name ¶
func (MagicTHPass) Name() string
func (MagicTHPass) Run ¶
func (MagicTHPass) Run(ctx context.Context, in *wt.PassInput) (*wt.PassOutput, error)
Click to show internal directories.
Click to hide internal directories.