Documentation ¶
Index ¶
Constants ¶
View Source
const ( // IDCacheKey is the key for storing redis hash field value IDCacheKey = "UNIPROT2NAME/uniprot" // URL is the uniprot endpoint URL = "https://www.uniprot.org/uniprot/?query=taxonomy:44689&columns=id,database(dictyBase),genes(PREFERRED)&format=tab" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
type Storage interface { Get(string, string) (string, error) Set(string, string, string) error Delete(string, ...string) error IsExist(string, string) bool Close() error }
Storage interface is for manging key value data
func NewRedisStorage ¶
NewRedisStorage is the constructor for redis for storing hash based key value
Click to show internal directories.
Click to hide internal directories.