Documentation ¶
Index ¶
Constants ¶
View Source
const NON_INSTANCE_NAME = ""
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies []ID
func (*Dependencies) Add ¶
func (d *Dependencies) Add(id ID)
func (*Dependencies) Compare ¶
func (d *Dependencies) Compare(od Dependencies) (ot, oo, b Dependencies)
func (*Dependencies) Delete ¶
func (d *Dependencies) Delete(id ID)
type DependencyInstance ¶
type DependencyInstance interface {
ID() ID
}
type DependentInstance ¶
type DependentInstance interface {
GetDependentInstance(ID) DependencyInstance
}
type DependingInstance ¶
type DependingInstance interface { Dependencies() Dependencies SetDependency(DependencyInstance) UnsetDependency(ID) OnServiceListChanged() // functions below will only be called on instance creation and will not be called again SetServiceListGetter(func() []string) SetDependenciesChangedHandler(func()) }
type ForceStoppableInstance ¶
type ForceStoppableInstance interface {
ForceStop() //this should just stop threads and clean up fast
}
type LoggerFunc ¶
type LoggerFunc func(...interface{})
type ManagingInstance ¶
type ManagingInstance interface {
SetServiceManager(ServiceManager)
}
type SelfKillFunc ¶
type SelfKillFunc func()
type ServiceManager ¶
Click to show internal directories.
Click to hide internal directories.