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

            Source Files

            Directories

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