Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = Fields()
View Source
var ErrBadJSON = errors.New("api: invalid json ")
View Source
var Index = func() (m map[string]int) { m = make(map[string]int) for i := range All { m[All[i].Name] = i } return }()
View Source
var ParquetSchema = parquetSchema()
View Source
var Pool = memory.NewGoAllocator()
View Source
var Schema = arrow.NewSchema(All, nil)
Functions ¶
func NewFileReader ¶
func NewFileReader(r parquet.ReaderAtSeeker) *file.Reader
Types ¶
type Entry ¶
type Entry struct { Bounce int64 Session int64 Browser string BrowserVersion string City string Country string Domain string Duration time.Duration EntryPage string ExitPage string Host string ID uint64 Event string Os string OsVersion string Path string Referrer string ReferrerSource string Region string Screen string Timestamp int64 UtmCampaign string UtmContent string UtmMedium string UtmSource string UtmTerm string }
type MultiEntry ¶
type MultiEntry struct {
// contains filtered or unexported fields
}
func NewMulti ¶
func NewMulti() *MultiEntry
func (*MultiEntry) Append ¶
func (m *MultiEntry) Append(e *Entry)
func (*MultiEntry) Len ¶ added in v0.0.28
func (m *MultiEntry) Len() int
func (*MultiEntry) Release ¶
func (m *MultiEntry) Release()
func (*MultiEntry) Reset ¶
func (m *MultiEntry) Reset()
type Request ¶
type Request struct { EventName string `json:"n"` URI string `json:"url"` Referrer string `json:"r"` Domain string `json:"d"` ScreenWidth int `json:"w"` HashMode bool `json:"h"` IP string `json:"ip,omitempty"` UserAgent string `json:"ua,omitempty"` // contains filtered or unexported fields }
Request is sent by the vince script embedded in client websites
func NewRequest ¶
func NewRequest() *Request
Click to show internal directories.
Click to hide internal directories.