Documentation ¶
Index ¶
- Variables
- func DeleteApp(pid string, aid string) bool
- func DeleteConfig(pid string, aid string, key string) (bool, error)
- func DeleteProduct(pid string) bool
- func ExistsApp(pid string, aid string) error
- func ExistsAppConfigs(pid string, aid string) error
- func ExistsApps(pid string) (have bool)
- func ExistsConfig(pid string, aid string, key string) error
- func ExistsProduct(pid string) error
- func ExistsProducts() (have bool)
- func GetAllApps(pid string) (maps map[string]*App)
- func GetAllConfigs() (maps map[string]map[string]map[string]interface{})
- func GetAllProducts() (maps map[string]*Product)
- func GetAppConfigs(pid string, aid string) (maps map[string]interface{})
- func GetConfig(pid string, aid string, key string) (value interface{}, err error)
- func GetProductConfigs(pid string) (maps map[string]map[string]interface{})
- func GetStatusWithMem() statusM
- func GetStatusWithOutMem() status
- func InitAppChan(pid string) bool
- func InitConfigChan(pid string, aid string) bool
- func PutApp(pid string, aid string, name string, descr string) bool
- func PutConfig(pid string, aid string, key string, value interface{}) bool
- func PutProduct(pid string, name string, descr string) bool
- type App
- type AppChan
- type ConfigChan
- type Product
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigChans map[string]*ConfigChan ConfigStore map[string]map[string]map[string]interface{} )
View Source
var ( Products map[string]*Product ProductLock map[string]*sync.Mutex ProductsChan chan int )
View Source
var ( StatusTM statusM StatusT status )
Functions ¶
func DeleteProduct ¶
func ExistsAppConfigs ¶
func ExistsApps ¶
func ExistsProduct ¶
func ExistsProducts ¶
func ExistsProducts() (have bool)
func GetAllApps ¶
func GetAllConfigs ¶
func GetAllProducts ¶
func GetAppConfigs ¶
func GetProductConfigs ¶
func GetStatusWithMem ¶
func GetStatusWithMem() statusM
func GetStatusWithOutMem ¶
func GetStatusWithOutMem() status
func InitAppChan ¶
func InitConfigChan ¶
Types ¶
type ConfigChan ¶
Click to show internal directories.
Click to hide internal directories.