localsvc

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(
	ll *slog.Logger,
	state *state.State,
	ownVersion *typesv1.Version,
	storage localstorage.Storage,
	doLogin func(ctx context.Context, returnToURL string) error,
	doLogout func(ctx context.Context, returnToURL string) error,
	doUpdate func(ctx context.Context) error,
	doRestart func(ctx context.Context) error,
	getConfig func(ctx context.Context) (*typesv1.LocalhostConfig, error),
	setConfig func(ctx context.Context, cfg *typesv1.LocalhostConfig) error,
	whoami func(ctx context.Context) (*userv1.WhoamiResponse, error),
) *Service

func (*Service) DoLogin added in v0.8.0

func (*Service) DoLogout added in v0.8.0

func (*Service) DoRestart added in v0.8.0

func (*Service) DoUpdate added in v0.8.0

func (*Service) GetConfig added in v0.8.0

func (*Service) Ingest

func (*Service) ListSymbols added in v0.8.0

func (*Service) Parse added in v0.8.0

func (*Service) Ping

func (*Service) Query added in v0.8.0

func (*Service) SetConfig added in v0.8.0

func (*Service) WatchQuery

Jump to

Keyboard shortcuts

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