Documentation ¶
Index ¶
- Variables
- func FindAllOffersByFlowId(ctx context.Context, flow_id string) (*[]Offer, error)
- func FindAllPartners(ctx context.Context) (*[]Partner, error)
- func GetEnv(key string) string
- func InsertOneOffer(ctx context.Context, offer *Offer) error
- func NewClient(ctx context.Context) (*mongo.Client, error)
- func UpdatePartnerRating(ctx context.Context, partner *Partner) error
- func UpdatePartnerTotalOrder(ctx context.Context, id primitive.ObjectID) error
- type Offer
- type Partner
Constants ¶
This section is empty.
Variables ¶
View Source
var Mongo_Client *mongo.Client
Functions ¶
func FindAllOffersByFlowId ¶
Types ¶
type Offer ¶
Click to show internal directories.
Click to hide internal directories.