foundation

package
v0.0.0-...-4b56e16 Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeApplication

func MakeApplication(name, version, description string) *larago.Application

MakeApplication start application and set default Service Providers.

Types

type ExitHandler

type ExitHandler struct {
	Events *EventBus.EventBus
}

ExitHandler handles all panics.

func (*ExitHandler) Defer

func (h *ExitHandler) Defer()

Defer to handle panics.

func (*ExitHandler) Exit

func (h *ExitHandler) Exit(message string, exitCode int)

Exit terminates application.

type ServiceProvider

type ServiceProvider struct{}

ServiceProvider .

func (*ServiceProvider) Register

func (p *ServiceProvider) Register(application *larago.Application)

Register service.

Directories

Path Synopsis
http

Jump to

Keyboard shortcuts

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