github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/internal/analytics/client/blackhole/client.go (about) 1 package blackhole 2 3 import ( 4 "github.com/ActiveState/cli/internal/analytics" 5 "github.com/ActiveState/cli/internal/analytics/dimensions" 6 ) 7 8 type Client struct{} 9 10 var _ analytics.Dispatcher = &Client{} 11 12 func New() *Client { 13 return &Client{} 14 } 15 16 func (c Client) Event(category, action string, dim ...*dimensions.Values) { 17 } 18 19 func (c Client) EventWithLabel(category, action, label string, dim ...*dimensions.Values) { 20 } 21 22 func (c Client) EventWithSource(category, action, source string, dim ...*dimensions.Values) { 23 } 24 25 func (c Client) Wait() { 26 } 27 28 func (c Client) Close() { 29 }