app

package
v0.0.0-...-15bb288 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(opts ...NewOption) *App

func (*App) Run

func (a *App) Run(ctx context.Context) error

type NewOption

type NewOption func(*App)

func WithChromeHeadless

func WithChromeHeadless(b bool) NewOption

func WithChromeSandbox

func WithChromeSandbox(b bool) NewOption

func WithExternalLabels

func WithExternalLabels(strs ...string) NewOption

func WithLogger

func WithLogger(l log.Logger) NewOption

func WithTSDBBlockDuration

func WithTSDBBlockDuration(d time.Duration) NewOption

func WithTSDBPath

func WithTSDBPath(s string) NewOption

func WithThamesWaterLogin

func WithThamesWaterLogin(email, password string) NewOption

func WithThamesWaterLoginTimeout

func WithThamesWaterLoginTimeout(d time.Duration) NewOption

func WithThanosBucketObj

func WithThanosBucketObj(str string) NewOption

Jump to

Keyboard shortcuts

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