lkgr

package
v0.0.0-...-4fb5945 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: BSD-3-Clause Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LKGR

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

LKGR is a struct used for tracking the Last Known Good Revision of Skia.

func New

func New(ctx context.Context) (*LKGR, error)

Return an LKGR instance.

func (*LKGR) Get

func (r *LKGR) Get() string

Return the LKGR.

func (*LKGR) Update

func (r *LKGR) Update(ctx context.Context) error

Update LKGR.

func (*LKGR) UpdateLoop

func (r *LKGR) UpdateLoop(freq time.Duration, ctx context.Context)

Start updating LKGR in a loop.

Jump to

Keyboard shortcuts

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