track

package
v0.2.4-0...-f8342f3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerTrack

type PeerTrack struct {
	*base.Base
	Store track.ExtendedPeerstore
}

func (*PeerTrack) Cmd

func (c *PeerTrack) Cmd(route string) (cmd interface{}, err error)

func (*PeerTrack) Help

func (c *PeerTrack) Help() string

func (*PeerTrack) Routes

func (c *PeerTrack) Routes() []string

type PeerTrackListCmd

type PeerTrackListCmd struct {
	*base.Base
	Store track.ExtendedPeerstore
}

func (*PeerTrackListCmd) Help

func (c *PeerTrackListCmd) Help() string

func (*PeerTrackListCmd) Run

func (c *PeerTrackListCmd) Run(ctx context.Context, args ...string) error

type PeerTrackTeeCmd

type PeerTrackTeeCmd struct {
	*base.Base
	Store track.ExtendedPeerstore
	Match string `ask:"--match" help:"Datastore key path matcher regex, to select what to track changes of. Empty to match everything."`
	Dest  string `ask:"--dest" help:"Destination to direct events to. Could be: log,csv,evlog,evcsv,json,wsjson"`
	Path  string `ask:"--path" help:"Path, address or other destination uri"`
	Key   string `ask:"--key" help:"Optional API key or authentication for the chosen destination type"`
}

func (*PeerTrackTeeCmd) Default

func (c *PeerTrackTeeCmd) Default()

func (*PeerTrackTeeCmd) Help

func (c *PeerTrackTeeCmd) Help() string

func (*PeerTrackTeeCmd) Run

func (c *PeerTrackTeeCmd) Run(ctx context.Context, args ...string) error

Jump to

Keyboard shortcuts

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