it

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(user string, pwd string) auth

func Opts

func Opts(prefix string) *opts

func SendBeacons

func SendBeacons(oldStylePath string, newStylePath string)

func Server

func Server(host string, port int16, db string, tablePrefix string) server

Types

type Persistence

type Persistence struct {
	// contains filtered or unexported fields
}

func New

func New(s server, a auth, opts *opts) (*Persistence, error)

func (*Persistence) CountRecords

func (p *Persistence) CountRecords(criteria string) uint64

func (*Persistence) GetFirstRow

func (p *Persistence) GetFirstRow() RumEventRow

func (*Persistence) RecycleTables

func (p *Persistence) RecycleTables()

type RumEventRow

type RumEventRow struct {
	Url                     string `ch:"url"`
	Cumulative_Layout_Shift string `ch:"cumulative_layout_shift"`
}

Jump to

Keyboard shortcuts

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