browserversion

package
v0.0.0-...-d39f515 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datum

type Datum struct {
	BrowserName       string `json:"browserName"`
	BrowserVersion    string `json:"browserVersion"`
	VisitorCount      uint64 `json:"visitorCount"`
	VisitorPercentage uint16 `json:"visitorPercentage"`
}

type PaginationCursor

type PaginationCursor struct {
	BrowserVersion string `json:"browserVersion"`
	VisitorCount   uint64 `json:"visitorCount"`
}

func (*PaginationCursor) MarshalJSON

func (pc *PaginationCursor) MarshalJSON() ([]byte, error)

func (*PaginationCursor) UnmarshalJSON

func (pc *PaginationCursor) UnmarshalJSON(data []byte) error

type Report

type Report struct {
	Data             []*Datum          `json:"data"`
	PaginationCursor *PaginationCursor `json:"paginationCursor"`
}

func Get

func Get(dp *depot.Depot, filters *filter.Filters, paginationCursor *PaginationCursor) (*Report, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL