Documentation ¶
Index ¶
- func Delete(id string, ident string, col string) error
- func DeleteHost(id string, col string) error
- func Deserialize(id string, parm string, col string, t reflect.Type) (interface{}, error)
- func ReadAllAccounts(email string) ([]*model.Account, error)
- func ReadAllAccountsForID(id string) ([]*model.Account, error)
- func ReadAllHosts(param string, id string) ([]*model.Host, error)
- func ReadAllMeshes(param string, id string) []*model.Mesh
- func ReadAllServers() ([]*model.Server, error)
- func ReadAllServices(email string) ([]*model.Service, error)
- func ReadAllSubscriptions(email string) ([]*model.Subscription, error)
- func ReadAllUsers() []*model.User
- func ReadServiceHost(id string) ([]*model.Service, error)
- func Serialize(id string, parm string, col string, c interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteHost ¶
DeleteHost removes the given id from the given collection
func Deserialize ¶
Deserialize read interface from disk
func ReadAllAccounts ¶
ReadAllAccounts from MongoDB
func ReadAllAccountsForID ¶
ReadAllAccountsForID from MongoDB
func ReadAllHosts ¶
ReadAllHosts from MongoDB
func ReadAllMeshes ¶
ReadAllMeshes from MongoDB
func ReadAllServices ¶
ReadAllServices from MongoDB
func ReadAllSubscriptions ¶
func ReadAllSubscriptions(email string) ([]*model.Subscription, error)
ReadAllSubscriptions from MongoDB
func ReadServiceHost ¶
ReadServiceHost from MongoDB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.