domain

package
v0.0.0-...-c1b2cde Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IInstance

type IInstance interface {
	Start(instance *Instance) error
	Stop(id UUID) (*Instance, error)
}

type ILogManager

type ILogManager interface {
	Log(logLevelType LogLevelType, message interface{}) error
}

type Instance

type Instance struct {
	Id       UUID
	Name     string
	Instance IInstance
}

type InstanceProvider

type InstanceProvider struct {
	Id   UUID
	Name string
}

type LogLevelType

type LogLevelType int
const (
	Debug LogLevelType = 1 << iota
	Error
	Info
	Fatal
	Trace
	Warning
)

type LogManager

type LogManager struct {
	InjectedLogManager ILogManager
}

func (*LogManager) Log

func (logManager *LogManager) Log(logLevelType LogLevelType, message interface{}) error

type UUID

type UUID [16]byte

Jump to

Keyboard shortcuts

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