Documentation
¶
Index ¶
- func New(v *validator.Validate, opts ...optFn) (*writer, error)
- func NoopGroupFn(context.Context) (*segment.Group, error)
- func NoopIdentifyFn(context.Context) (*segment.Identify, error)
- func WithDisable(disabled bool) optFn
- func WithGroupFn(fn GroupFn) optFn
- func WithIdentifyFn(fn IdentifyFn) optFn
- func WithLogger(l *zap.Logger) optFn
- func WithProperties(props map[string]interface{}) optFn
- func WithSegmentKey(key string) optFn
- func WithUserIDFn(fn UserIDFn) optFn
- type GroupFn
- type IdentifyFn
- type UserIDFn
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDisable ¶
func WithDisable(disabled bool) optFn
func WithGroupFn ¶
func WithGroupFn(fn GroupFn) optFn
func WithIdentifyFn ¶
func WithIdentifyFn(fn IdentifyFn) optFn
func WithLogger ¶
func WithProperties ¶
func WithProperties(props map[string]interface{}) optFn
func WithSegmentKey ¶
func WithSegmentKey(key string) optFn
func WithUserIDFn ¶
func WithUserIDFn(fn UserIDFn) optFn
Types ¶
Click to show internal directories.
Click to hide internal directories.