Documentation ¶
Index ¶
- func CompressFiles(input *core.InputFiles) ([]byte, error)
- type AnalyticsFile
- type Client
- func (t *Client) AppendProperties(properties map[string]interface{})
- func (t *Client) AppendProperty(key string, value any)
- func (t *Client) AttachAuthorizations(loginInfo auth.LoginInfo)
- func (t *Client) Error(event string)
- func (t *Client) Hash(value any) string
- func (t *Client) Info(event string)
- func (client *Client) NewFieldListener(level zapcore.LevelEnabler) zapcore.Core
- func (t *Client) PanicHandler(err *error, errHandler ErrorHandler)
- func (t *Client) UploadSource(source *core.InputFiles)
- func (t *Client) Warn(event string)
- type ErrorHandler
- type LogLevel
- type Payload
- type User
- type Validated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressFiles ¶
func CompressFiles(input *core.InputFiles) ([]byte, error)
Types ¶
type AnalyticsFile ¶
type AnalyticsFile struct {
Id string
}
func GetOrCreateAnalyticsFile ¶ added in v0.6.3
func GetOrCreateAnalyticsFile() AnalyticsFile
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AppendProperties ¶
func (*Client) AppendProperty ¶ added in v0.6.3
func (*Client) AttachAuthorizations ¶ added in v0.6.3
func (*Client) Hash ¶
Hash hashes a value, using this analytic sender's userId as a salt. It does not output anything or in any way modify the sender's state.
func (*Client) NewFieldListener ¶
func (client *Client) NewFieldListener(level zapcore.LevelEnabler) zapcore.Core
func (*Client) PanicHandler ¶
func (t *Client) PanicHandler(err *error, errHandler ErrorHandler)
func (*Client) UploadSource ¶
func (t *Client) UploadSource(source *core.InputFiles)
type ErrorHandler ¶
type ErrorHandler interface {
PrintErr(err error)
}
Click to show internal directories.
Click to hide internal directories.