Documentation ¶
Index ¶
Constants ¶
View Source
const (
ReporterName = "rest"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NewOption ¶
type NewOption func(*reporter)
NewOption allows specifying various configuration
func WithRestClient ¶
WithRestClient specifies rest client to override when create rest reporter
type ReporterJSON ¶
type ReporterJSON struct { UnixTimestamp int64 `json:"unixTimestamp,omitempty"` UUID string `json:"uuid,omitempty"` }
ReporterJSON represents generic json data for http POST report
func NewReporterJSON ¶
func NewReporterJSON() ReporterJSON
NewReporterJSON creates new reporter json
Click to show internal directories.
Click to hide internal directories.