apps

package
v0.0.0-...-b178995 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App handle an app meta data

type Apps

type Apps struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Apps holds the Apps manager data

func New

func New(logger log.Logger, conf *config.Config, sess *session.Session, wa *webauthn.WebAuthn, bs *blobstore.BlobStore, kvs store.KvStore, ft *filetree.FileTree, ds *docstore.DocStore, chub *hub.Hub, hostWhitelister func(...string)) (*Apps, error)

New initializes the Apps manager

func (*Apps) Apps

func (apps *Apps) Apps() map[string]*App

func (*Apps) Close

func (apps *Apps) Close() error

Close cleanly shutdown thes AppsManager

func (*Apps) Register

func (apps *Apps) Register(r *mux.Router, root *mux.Router, basicAuth func(http.Handler) http.Handler)

Register Apps endpoint

Directories

Path Synopsis
Package luautil implements utility for gopher-lua.
Package luautil implements utility for gopher-lua.

Jump to

Keyboard shortcuts

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