user authentication structure in place
This commit is contained in:
@@ -15,10 +15,10 @@ func InitDBConn(conf *util.Config) (*DBConn, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &DBConn{ hot, cold }, nil
|
||||
return &DBConn{hot, cold}, nil
|
||||
}
|
||||
|
||||
type DBConn struct {
|
||||
Hot *db_hot.DBHotConn
|
||||
Hot *db_hot.DBHotConn
|
||||
Cold *db_cold.DBColdConn
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user