# Functions
ChangeFeed indicates a change feed request.
ChangeFeedPartitionRangeID used in change feed requests.
ConsistencyLevel override for read options against documents and attachments.
Continuation sets continuation token for request.
CrossPartition allows query to run on all partitions.
IfMatch used to make operation conditional for optimistic concurrency.
IfModifiedSince returns etag of resource modified after specified date in RFC 1123 format.
IfNoneMatch makes operation conditional to only execute if the resource has changed.
Limit set max item count for response.
New create a new CosmosDB instance.
NewCosmosError creates a new cosmos error struct.
NewIterator creates iterator instance.
NewLineString creates a new LineString struct.
NewPoint creates a new point struct and returns it.
NewPolygon creates a new Polygon struct.
PartitionKey sets partition for request.
No description provided by the author
Return new resource request with type and id.
SessionToken a string token used with session level consistency.
Upsert if set to true, Cosmos DB creates the document with the ID (and partition key value if applicable) if it doesn’t exist, or update the document if it exists.
WithClient allows you to provide a custom http client.
# Constants
Bounded consistency level.
Eventual consistency level.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Session consistency level.
Strong consistency level.
No description provided by the author
# Variables
DefaultSerialization holds default stdlib json driver.
Serialization holds driver that is actually used.
# Structs
Client model.
Collection performs operations on a given collection.
CollectionDefinition defiens the structure of a Collection.
Collections struct handles all operations involving mutiple collections.
No description provided by the author
Database performs operations on a single database.
DatabaseDefinition defines the structure of a database data query.
Databases performs operations on databases.
Document performs operations on a given document.
DocumentDefinition defines all the default document properties.
Documents performs operations on a multiple documents.
Error reports cosmos related errors.
IndexingPolicy model.
IndexingPolicyPath model.
Iterator used to iterate through documents.
LineString struct defines a line string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PartitionKeyDefinition is used to define a partitionkey.
PartitionKeyRange partition key range model.
Permission model.
PermissionDefinition model.
Permissions model.
No description provided by the author
PolicyIndex.
No description provided by the author
No description provided by the author
No description provided by the author
Resource every cosmos resource have these.
No description provided by the author
SerializationDriver struct holds serialization / deserilization providers.
No description provided by the author
No description provided by the author
StoredProcedureDefinition stored procedure model.
No description provided by the author
No description provided by the author
TriggerDefinition defines the model of a cosmos trigger.
No description provided by the author
No description provided by the author
UDFDefinition (User Defined Function) definition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
JSONDecoder describes json decoder.
JSONEncoder describes json encoder.
# Type aliases
CallOption type defenition.
CollectionDefinitions is a slice of CollectionDefinition elements.
Consistency type to define consistency levels.
Coordinate = [lon, lat].
No description provided by the author
DatabaseDefinitions slice of Database elements.
DecoderFactory describes function that creates json decoder.
EncoderFactory describes function that creates json encoder.
IteratorFunc is type that describes iterator source.
Marshal function type.
Option funcitons for configuring the client.
No description provided by the author
Unmarshal function type.