app

package
v0.0.0-...-50dd056 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDBSchema

func ApplyDBSchema(c *config.Config, dbSocket, dbAdminUser, dbAdminPasswd string) error

func Version

func Version() (string, string, time.Time)

Types

type App

type App struct {
	Router        *mux.Router
	Config        *config.Config
	FedUserCache  *federationuser.FedUserCache
	DB            *sql.DB
	PreparedStmts *database.StmtMap
	VaultClient   *vaultclient.Client
}

func (*App) Initialize

func (a *App) Initialize(c *config.Config) error

func (*App) Run

func (a *App) Run() (err error)

Jump to

Keyboard shortcuts

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