Documentation ¶
Index ¶
Constants ¶
View Source
const ( StaticAssets = "../public/" Favicon = "favicon.ico" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstraper ¶
type Bootstraper struct { *iris.Application AppName string AppOwner string AppSpawnDate time.Time Sessions *sessions.Sessions }
func New ¶
func New(appName, appOwner string, cfgs ...Configurator) *Bootstraper
func (*Bootstraper) Bootstrap ¶
func (b *Bootstraper) Bootstrap() *Bootstraper
func (*Bootstraper) Configure ¶
func (b *Bootstraper) Configure(cs ...Configurator)
func (*Bootstraper) Listen ¶
func (b *Bootstraper) Listen(addr string, cfgs ...iris.Configurator)
func (*Bootstraper) SetupErrorHandlers ¶
func (b *Bootstraper) SetupErrorHandlers()
type Configurator ¶
type Configurator func(*Bootstraper)
Click to show internal directories.
Click to hide internal directories.