sqlite

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New(db *sql.DB) *Store

New creates a new store backed by the given db.

func (*Store) Get

func (s *Store) Get(ctx context.Context, appID, traceID string, iter trace2.EventIterator) error

func (*Store) List

func (s *Store) List(ctx context.Context, q *trace2.Query, iter trace2.ListEntryIterator) error

func (*Store) Listen

func (s *Store) Listen(ch chan<- trace2.NewSpanEvent)

func (*Store) WriteEvents

func (s *Store) WriteEvents(ctx context.Context, meta *trace2.Meta, events []*tracepbcli.TraceEvent) error

Jump to

Keyboard shortcuts

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