Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPersistantStorage ¶
type IPersistantStorage interface {
// Get/Set the logging for the interface
GetStorageHandler(name string) (IStorageHandler, bool)
SetStorageHander(name string, store IStorageHandler)
GetAllStorageHandlers() map[string]IStorageHandler
RemoveStorageHandler(name string) bool
// This function creates all the structures for all the handlers
// this could be files, tables etc
CreateStructures() IQueryResult
}
type IQueryResult ¶
type IStorageHandler ¶
type IStorageHandler interface {
// Make sure that the Peristant storage is available
// Thsiw ill have access to files, database, logging etc
GetPersistantStorage() IPersistantStorage
SetPersistantStorage(persistant IPersistantStorage) //IStorageHandler
// This function creates all the structures that are needed for storage
// this could be files, tables etc
CreateStructures() IQueryResult
}
Click to show internal directories.
Click to hide internal directories.