fakesegment

package
v1.0.42663-pre Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CompareTrack = cmpopts.IgnoreFields(analytics.Track{}, "MessageId")
	CompareTime  = cmpopts.EquateApproxTime(time.Second)
)

Functions

This section is empty.

Types

type Batch

type Batch struct {
	SentAt   time.Time         `json:"sentAt"`
	Messages []analytics.Track `json:"batch"`
}

type Service

type Service struct {
	http.Handler
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, apiKey string) *Service

func (*Service) Batches

func (s *Service) Batches() []Batch

Jump to

Keyboard shortcuts

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