Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter interface {
Emit(Event)
}
func NewNoopEmitter ¶
func NewNoopEmitter() Emitter
type Event ¶
type Event struct {
Time time.Time `json:"time"`
WID string `json:"wid"`
CID string `json:"cid"`
City string `json:"city"` // ISO 3166
CountryCode string `json:"countryCode"`
ContinentCode string `json:"continentCode"`
Lat float64 `json:"lat"`
Lng float64 `json:"lng"`
AccessDenied bool `json:"accessDenied"` // changelog protected
}
Click to show internal directories.
Click to hide internal directories.