labagent

package
v0.0.0-...-300ac43 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabAgent

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

func New

func New(root, addr, appRoot, appAddr string, logger *zerolog.Logger, opts ...LabagentOption) (*LabAgent, error)

func (*LabAgent) Close

func (a *LabAgent) Close() error

func (*LabAgent) Serve

func (a *LabAgent) Serve(ctx context.Context) error

type LabagentOption

type LabagentOption func(*LabagentSettings) error

func WithDownloaderSettings

func WithDownloaderSettings(settings downloaders.DownloaderSettings) LabagentOption

type LabagentSettings

type LabagentSettings struct {
	DownloaderSettings downloaders.DownloaderSettings
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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