Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UniprotCacheKey is the key for storing the Redis hash field value // for UniprotID -> Gene Name/ID UniprotCacheKey = "UNIPROT2NAME/uniprot" // GeneCacheKey is the key for storing the Redis has field value // for Gene Name/ID -> Uniprot ID GeneCacheKey = "GENE2UNIPROT/gene" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisUniprotLoader ¶
type RedisUniprotLoader struct {
// contains filtered or unexported fields
}
RedisUniprotLoader implements UniprotLoader for Redis
func (*RedisUniprotLoader) Load ¶
func (r *RedisUniprotLoader) Load(maps []UniprotMap) error
type UniprotLoader ¶
type UniprotLoader interface {
Load(maps []UniprotMap) error
}
UniprotLoader defines the interface for loading Uniprot mappings
func NewRedisUniprotLoader ¶
func NewRedisUniprotLoader(client *rds.Client) UniprotLoader
type UniprotMap ¶
Click to show internal directories.
Click to hide internal directories.