app

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAlreadyExists = errors.New("app already exists")
View Source
var ErrAppNotFound = errors.New("app not found")
View Source
var ErrInvalidAppId = errors.New("invalid app ID")

Functions

This section is empty.

Types

type Service

type Service interface {
	CreateApp(name string) (*core.App, error)
	CheckAppId(name string, appId core.AppId) error
}

func NewService

func NewService(apps core.AppRepository) Service

Jump to

Keyboard shortcuts

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