Documentation ¶
Index ¶
- func NewMongoDAO(m *mongodb.Indexer) log.MessageRepository
- type MongoCodec
- func (m *MongoCodec) BuildQuery(query interface{}, offset, limit int32, sortFields string, sortDesc bool) (interface{}, interface{}, error)
- func (m *MongoCodec) BuildQueryOptions(query interface{}, offset, limit int32, sortFields string, sortDesc bool) (interface{}, error)
- func (m *MongoCodec) GetModel(sc configx.Values) (interface{}, bool)
- func (m *MongoCodec) Unmarshal(indexed interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMongoDAO ¶
func NewMongoDAO(m *mongodb.Indexer) log.MessageRepository
Types ¶
type MongoCodec ¶
func (*MongoCodec) BuildQuery ¶
func (m *MongoCodec) BuildQuery(query interface{}, offset, limit int32, sortFields string, sortDesc bool) (interface{}, interface{}, error)
func (*MongoCodec) BuildQueryOptions ¶
func (m *MongoCodec) BuildQueryOptions(query interface{}, offset, limit int32, sortFields string, sortDesc bool) (interface{}, error)
func (*MongoCodec) Unmarshal ¶
func (m *MongoCodec) Unmarshal(indexed interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.