leadtracker

package
v0.0.0-...-3e353e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension[LeadT LeadType] struct {
	// contains filtered or unexported fields
}

Extension of the server

func NewExtension

func NewExtension[LeadT LeadType](opts ...Option[LeadT]) *Extension[LeadT]

NewExtension with options

func (*Extension[LeadType]) InitRouter

func (ext *Extension[LeadType]) InitRouter(ctx context.Context, router *router.Router, tracer opentracing.Tracer)

InitRouter of the HTTP server

type LeadType

type LeadType = eventgenerator.LeadType

type Option

type Option[LeadT LeadType] func(ext *Extension[LeadT])

Option type

func WithEventStream

func WithEventStream[LeadT LeadType](eventStream eventstream.Stream) Option[LeadT]

WithEventStream setter

func WithHTTPHandlerWrapper

func WithHTTPHandlerWrapper[LeadT LeadType](handlerWrapper *httphandler.HTTPHandlerWrapper) Option[LeadT]

WithHTTPHandlerWrapper setter

func WithLeadAllocator

func WithLeadAllocator[LeadT LeadType](leadAllocator eventgenerator.Allocator[LeadT]) Option[LeadT]

WithLeadAllocator setter

func WithURLGenerator

func WithURLGenerator[LeadT LeadType](urlGenerator adtype.URLGenerator) Option[LeadT]

WithURLGenerator interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL