Documentation
¶
Index ¶
- func SyncXORMTables()
- type LinkDao
- func (dao *LinkDao) CreateMongoDBIndex(ctx context.Context) (name []string, err error)
- func (dao *LinkDao) FindOneLinkByCode(ctx context.Context) (err error)
- func (dao *LinkDao) FindOneLinkByCodeFromMongoDB(ctx context.Context) (err error)
- func (dao *LinkDao) FindOneLinkByHash(ctx context.Context) (err error)
- func (dao *LinkDao) FindOneLinkByHashFromMongoDB(ctx context.Context) (err error)
- func (dao *LinkDao) SaveOneLink(ctx context.Context) (err error)
- func (dao *LinkDao) SaveOneLinkToMongoDB(ctx context.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncXORMTables ¶
func SyncXORMTables()
Types ¶
type LinkDao ¶
func NewLinkDao ¶
func NewLinkDao() *LinkDao
func (*LinkDao) CreateMongoDBIndex ¶ added in v1.0.1
func (*LinkDao) FindOneLinkByCode ¶
func (*LinkDao) FindOneLinkByCodeFromMongoDB ¶
func (*LinkDao) FindOneLinkByHash ¶
func (*LinkDao) FindOneLinkByHashFromMongoDB ¶
Click to show internal directories.
Click to hide internal directories.