Documentation ¶
Index ¶
- Variables
- type App
- type Config
- type Manager
- func (m *Manager) Apps() []string
- func (m *Manager) Close() error
- func (m *Manager) GetApp(name string) (*App, error)
- func (m *Manager) Openers(mime types.MimeType) map[string]string
- func (m *Manager) Serve(user *models.User, w http.ResponseWriter, r *http.Request)
- func (m *Manager) StartApp(appname string) (*App, error)
- func (m *Manager) StopApp(appname string) error
- type UserClaims
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoMatch = errors.New("No match")
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetPlugin ¶
func (a *App) GetPlugin() plugin.PluginInterface
func (*App) IFramePermissions ¶
type Config ¶
type Config struct {
Apps []string `yaml:"apps"`
}
func (*Config) CreateProvider ¶
func (c *Config) CreateProvider(pManager *plugin.Manager, store storage.StorageProvider, prom *prometheus.Manager) (*Manager, error)
type Manager ¶
func NewManager ¶
func NewManager(pManager *plugin.Manager, store storage.StorageProvider, prom *prometheus.Manager, apps ...string) (*Manager, error)
type UserClaims ¶
type UserClaims struct { jwt.StandardClaims models.User }
Click to show internal directories.
Click to hide internal directories.