rg

package
v0.0.0-...-31318cc Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TimeFormat = "2006-01-02T15:04:05.000Z"

Variables

This section is empty.

Functions

This section is empty.

Types

type RG

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

func New

func New(ctx context.Context, path string, m *metrics.Gatherer) (*RG, error)

func NewRG

func NewRG(tail *tail.Tail, state *state.State) *RG

func (*RG) Exists

func (r *RG) Exists(project, remote string) bool

func (*RG) Expires

func (r *RG) Expires(project, remote string) (time.Duration, bool)

func (*RG) Loop

func (r *RG) Loop(ctx context.Context) error

func (*RG) ProcessLine

func (r *RG) ProcessLine(line string) error

func (*RG) State

func (r *RG) State() map[state.Key]*state.Data

State return current rg state

Jump to

Keyboard shortcuts

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