Documentation ¶
Overview ¶
package mongopb streams structpb-typed data to a MongoDB collection using the official MongoDB Go Driver.
Index ¶
Constants ¶
View Source
const Version = "0.1.1"
Version is the version of the mongopb package.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListWriter ¶
type ListWriter struct {
// contains filtered or unexported fields
}
ListWriter is used to write a structpb.ListValue to a MongoDB collection.
func NewListWriter ¶
func NewListWriter(coll *mongo.Collection) *ListWriter
NewListWriter creates a new ListWriter for writing a structpb.ListValue to a MongoDB collection.
Click to show internal directories.
Click to hide internal directories.