awslog

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Timestamp time.Time
	Message   string
}

type LogService

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

func New

func New(logGroup string) *LogService

func (*LogService) Events

func (service *LogService) Events(q string, from time.Time) ([]Event, error)

func (*LogService) Query

func (service *LogService) Query(q string, from, to time.Time) ([]Event, error)

func (*LogService) Stream

func (service *LogService) Stream(ctx context.Context, q string) <-chan Event

Jump to

Keyboard shortcuts

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