app

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Key = struct{}{}

Functions

func PutToApp

func PutToApp(ctx context.Context, obj any) context.Context

Types

type App

type App struct {
	Cfg        *config.Config
	Log        *types.Logger
	Widget     types.WidgetRegistry
	Obs        types.Obs
	ObsBrowser types.ObsBrowser
}

container with all my goodies

func FromContext

func FromContext(ctx context.Context) *App

Jump to

Keyboard shortcuts

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