app

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package app $PF_IGNORE$

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 Services

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

func NewServices

func NewServices(_ context.Context, st *State) (*Services, error)

type State

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

func NewState

func NewState(debug bool, bi *BuildInfo, f filesystem.FileLoader, logger *zap.SugaredLogger) (*State, error)

Directories

Path Synopsis
Package controller $PF_IGNORE$ Package controller $PF_IGNORE$
Package controller $PF_IGNORE$ Package controller $PF_IGNORE$
lib
log
sandbox
Package sandbox $PF_IGNORE$
Package sandbox $PF_IGNORE$
Package site $PF_IGNORE$ Package site $PF_IGNORE$
Package site $PF_IGNORE$ Package site $PF_IGNORE$
Package util $PF_IGNORE$ Code generated from files in [client/src/svg].
Package util $PF_IGNORE$ Code generated from files in [client/src/svg].

Jump to

Keyboard shortcuts

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