Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Db represents of global Db map ex: db.Db["readapi"]["redis"] gives DB methods that's selected
Functions ¶
Types ¶
type DB ¶
type DB interface { GetAll() interface{} Get(dbName constants.DbName, key string, params *[]string) (interface{}, error) Set(dbName constants.DbName, key string, value interface{}, params *[]string) error }
DB represents methods that will be implemented Every DB must be implemented those methods
Click to show internal directories.
Click to hide internal directories.