Help us shape the future of Go! Take the 2026 Go Developer Survey

columnset

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package columnset provides a default columnset for the tracker API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultColumnRegistry

func DefaultColumnRegistry(
	theProtocol protocol.Protocol,
	psr properties.SettingsRegistry,
	opts ...ColumnSetOption,
) schema.ColumnsRegistry

DefaultColumnRegistry returns a default column registry for the tracker API.

Types

type ColumnSetOption added in v0.37.0

type ColumnSetOption func(*columnSetConfig)

ColumnSetOption is a function that modifies columnSetConfig.

func WithCustomColumnsRegistry added in v0.45.0

func WithCustomColumnsRegistry(reg schema.ColumnsRegistry) ColumnSetOption

WithCustomColumnsRegistry returns a ColumnSetOption that sets a custom columns registry.

func WithDeviceDetectionColumns added in v0.37.0

func WithDeviceDetectionColumns(cols []schema.EventColumn) ColumnSetOption

WithDeviceDetectionColumns returns a ColumnSetOption that sets the device detection columns.

func WithGeoProvider added in v0.47.0

func WithGeoProvider(provider dbip.LookupProvider) ColumnSetOption

WithGeoProvider returns a ColumnSetOption that sets the DBIP lookup provider.

Jump to

Keyboard shortcuts

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