app

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package app - Content managed by Project Forge, see [projectforge.md] for details.

Package app

Package app - Content managed by Project Forge, see [projectforge.md] for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Version string `json:"version"`
	Commit  string `json:"commit"`
	Date    string `json:"date"`
}

func (*BuildInfo) String

func (b *BuildInfo) String() string

type CoreServices added in v1.1.1

type CoreServices struct {
	Exec   *exec.Service
	Socket *websocket.Service
	Help   *help.Service
}

type Services

type Services struct {
	CoreServices
	Modules  *module.Service
	Projects *project.Service
	Export   *export.Service
	Git      *git.Service
}

func NewServices

func NewServices(ctx context.Context, st *State, rootLogger util.Logger) (*Services, error)

func (*Services) Close added in v0.2.22

func (s *Services) Close(_ context.Context, _ util.Logger) error

type State

type State struct {
	Debug     bool
	BuildInfo *BuildInfo
	Files     filesystem.FileLoader
	Themes    *theme.Service
	Services  *Services
	Started   time.Time
}

func NewState

func NewState(debug bool, bi *BuildInfo, f filesystem.FileLoader, enableTelemetry bool, _ uint16, logger util.Logger) (*State, error)

func (State) Close added in v0.2.22

func (s State) Close(ctx context.Context, logger util.Logger) error

Directories

Path Synopsis
Package cmd - Content managed by Project Forge, see [projectforge.md] for details.
Package cmd - Content managed by Project Forge, see [projectforge.md] for details.
Package controller - Content managed by Project Forge, see [projectforge.md] for details.
Package controller - Content managed by Project Forge, see [projectforge.md] for details.
clib
Package clib - Content managed by Project Forge, see [projectforge.md] for details.
Package clib - Content managed by Project Forge, see [projectforge.md] for details.
cmenu
Package cmenu - Content managed by Project Forge, see [projectforge.md] for details.
Package cmenu - Content managed by Project Forge, see [projectforge.md] for details.
csession
Package csession - Content managed by Project Forge, see [projectforge.md] for details.
Package csession - Content managed by Project Forge, see [projectforge.md] for details.
cutil
Package cutil - Content managed by Project Forge, see [projectforge.md] for details.
Package cutil - Content managed by Project Forge, see [projectforge.md] for details.
routes
Package routes - Content managed by Project Forge, see [projectforge.md] for details.
Package routes - Content managed by Project Forge, see [projectforge.md] for details.
lib
exec
Package exec - Content managed by Project Forge, see [projectforge.md] for details.
Package exec - Content managed by Project Forge, see [projectforge.md] for details.
filesystem
Package filesystem - Content managed by Project Forge, see [projectforge.md] for details.
Package filesystem - Content managed by Project Forge, see [projectforge.md] for details.
filter
Package filter - Content managed by Project Forge, see [projectforge.md] for details.
Package filter - Content managed by Project Forge, see [projectforge.md] for details.
help
Package help - Content managed by Project Forge, see [projectforge.md] for details.
Package help - Content managed by Project Forge, see [projectforge.md] for details.
log
Package log - Content managed by Project Forge, see [projectforge.md] for details.
Package log - Content managed by Project Forge, see [projectforge.md] for details.
menu
Package menu - Content managed by Project Forge, see [projectforge.md] for details.
Package menu - Content managed by Project Forge, see [projectforge.md] for details.
search
Package search - Content managed by Project Forge, see [projectforge.md] for details.
Package search - Content managed by Project Forge, see [projectforge.md] for details.
search/result
Package result - Content managed by Project Forge, see [projectforge.md] for details.
Package result - Content managed by Project Forge, see [projectforge.md] for details.
telemetry
Package telemetry - Content managed by Project Forge, see [projectforge.md] for details.
Package telemetry - Content managed by Project Forge, see [projectforge.md] for details.
telemetry/httpmetrics
Package httpmetrics - Content managed by Project Forge, see [projectforge.md] for details.
Package httpmetrics - Content managed by Project Forge, see [projectforge.md] for details.
theme
Package theme - Content managed by Project Forge, see [projectforge.md] for details.
Package theme - Content managed by Project Forge, see [projectforge.md] for details.
types
Package types - Content managed by Project Forge, see [projectforge.md] for details.
Package types - Content managed by Project Forge, see [projectforge.md] for details.
upgrade
Package upgrade - Content managed by Project Forge, see [projectforge.md] for details.
Package upgrade - Content managed by Project Forge, see [projectforge.md] for details.
user
Package user - Content managed by Project Forge, see [projectforge.md] for details.
Package user - Content managed by Project Forge, see [projectforge.md] for details.
websocket
Package websocket - Content managed by Project Forge, see [projectforge.md] for details.
Package websocket - Content managed by Project Forge, see [projectforge.md] for details.
git
svg
Package site - $PF_IGNORE$
Package site - $PF_IGNORE$
download
Package download - Content managed by Project Forge, see [projectforge.md] for details.
Package download - Content managed by Project Forge, see [projectforge.md] for details.
Package util - Content managed by Project Forge, see [projectforge.md] for details.
Package util - Content managed by Project Forge, see [projectforge.md] for details.

Jump to

Keyboard shortcuts

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