You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
377 B
25 lines
377 B
package hbase |
|
|
|
import ( |
|
"go-common/app/job/main/videoup-report/conf" |
|
"go-common/library/database/hbase.v2" |
|
) |
|
|
|
// Dao is redis dao. |
|
type Dao struct { |
|
c *conf.Config |
|
hbase *hbase.Client |
|
} |
|
|
|
// New new a archive dao. |
|
func New(c *conf.Config) (d *Dao) { |
|
d = &Dao{ |
|
c: c, |
|
hbase: hbase.NewClient(&c.Hbase.Config), |
|
} |
|
return d |
|
} |
|
|
|
// Close fn |
|
func (d *Dao) Close() { |
|
}
|
|
|