Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
Types ¶
type MongoDBPartnerAdapter ¶
type MongoDBPartnerAdapter struct {
// contains filtered or unexported fields
}
func NewMongoDBPartnerAdapter ¶
func NewMongoDBPartnerAdapter(dbName, tableName string, conn *mongo.Client) *MongoDBPartnerAdapter
func (*MongoDBPartnerAdapter) GetPartner ¶
func (m *MongoDBPartnerAdapter) GetPartner(id string) (*partners.Partner, error)
func (*MongoDBPartnerAdapter) SavePartner ¶
func (*MongoDBPartnerAdapter) SearchPartners ¶
Click to show internal directories.
Click to hide internal directories.