Documentation ¶
Index ¶
- func ToDoc(v interface{}) (doc *bson.D, err error)
- type MongoHandler
- func (mh *MongoHandler) DeleteAuth() error
- func (mh *MongoHandler) GetAuth() *object.Authentication
- func (mh *MongoHandler) GetPendingWebhook() *object.Webhook
- func (mh *MongoHandler) SaveAuth(auth *object.Authentication) primitive.ObjectID
- func (mh *MongoHandler) SaveWebhook(webhook object.Webhook) primitive.ObjectID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoHandler ¶
func (*MongoHandler) DeleteAuth ¶
func (mh *MongoHandler) DeleteAuth() error
func (*MongoHandler) GetAuth ¶
func (mh *MongoHandler) GetAuth() *object.Authentication
func (*MongoHandler) GetPendingWebhook ¶
func (mh *MongoHandler) GetPendingWebhook() *object.Webhook
func (*MongoHandler) SaveAuth ¶
func (mh *MongoHandler) SaveAuth(auth *object.Authentication) primitive.ObjectID
func (*MongoHandler) SaveWebhook ¶
func (mh *MongoHandler) SaveWebhook(webhook object.Webhook) primitive.ObjectID
Click to show internal directories.
Click to hide internal directories.