Documentation
¶
Index ¶
Constants ¶
View Source
const (
OutputNewLine = "\n"
)
Output parameters for consistent formatting
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New(sender interfaces.MessageSender, opts ...TraceManagerOption) *Manager
New creates a new TraceManager with options
func (*Manager) Done ¶
func (t *Manager) Done() <-chan struct{}
Done returns a channel that is closed when tracing is complete
type TraceManagerOption ¶
type TraceManagerOption func(*Manager)
TraceManagerOption defines a function type for configuring TraceManager
func WithConfig ¶
func WithConfig(cfg *config.Config) TraceManagerOption
func WithIPProvider ¶
func WithIPProvider(provider ipinfo.Provider) TraceManagerOption
WithIPProvider sets the IP info provider
Click to show internal directories.
Click to hide internal directories.