path

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: 5 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 {
	AverageDuration   uint32  `json:"averageDuration"`
	BouncePercentage  float32 `json:"bouncePercentage"`
	Path              string  `json:"path"`
	Url               string  `json:"url"`
	ViewCount         uint64  `json:"viewCount"`
	ViewPercentage    float32 `json:"viewPercentage"`
	VisitorCount      uint64  `json:"visitorCount"`
	VisitorPercentage float32 `json:"visitorPercentage"`
}

type PaginationCursor

type PaginationCursor struct {
	Path         string `json:"path"`
	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