stats

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package stats provides CLI analytics.

Index

Constants

This section is empty.

Variables

View Source
var Client = analytics.New(&analytics.Config{
	WriteKey: "qnvYCHktBBgACBkQ6V4dzh7aFCe8LF8u",
	Dir:      ".up",
})

Client for Segment analytics.

Functions

func Flush

func Flush()

Flush stats.

func SetProperties

func SetProperties(props map[string]interface{})

SetProperties sets global properties.

func Track

func Track(name string, props map[string]interface{})

Track event `name` with optional `props`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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