Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppStateChangeAdded is emmited when new app is exposed AppStateChangeAdded = "added" // AppStateChangeWithdrawn is emmited when app is withdrawn AppStateChangeWithdrawn = "withdrawn" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStateChange ¶
AppStateChange is emmited when app state changes
type AppStateManager ¶
type AppStateManager interface {
Changes() chan AppStateChange
}
AppStateManager notifies the client about the state of exposed apps
func NewStaticAppStateManager ¶
func NewStaticAppStateManager(apps []peers.App) AppStateManager
NewStaticAppStateManager creates new AppStateManager for a static list of supported apps
Click to show internal directories.
Click to hide internal directories.