app

package module
v0.0.0-...-7354f0f Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2014 License: MIT Imports: 3 Imported by: 0

README

Puffin App Build Status Coverage Status GoDoc

Documentation

Index

Constants

View Source
const (
	CreatedAppEvent event.Type = "CreatedAppEvent"
	RemovedAppEvent event.Type = "RemovedAppEvent"
)

Variables

This section is empty.

Functions

func NewCreatedAppEvent

func NewCreatedAppEvent(appId string) event.Event

func NewRemovedAppEvent

func NewRemovedAppEvent(appId string) event.Event

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(db *bolt.DB) *App

func (*App) CreateApp

func (self *App) CreateApp(appId string) (evt event.Event, err error)

func (*App) ExistsApp

func (self *App) ExistsApp(appId string) (exists bool, err error)

func (*App) OnCreatedApp

func (self *App) OnCreatedApp(evt event.Event) error

func (*App) OnRemovedApp

func (self *App) OnRemovedApp(evt event.Event) error

func (*App) RemoveApp

func (self *App) RemoveApp(appId string) (evt event.Event, err error)

Jump to

Keyboard shortcuts

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