package
1.12.0
Repository: https://github.com/dapr/go-sdk.git
Documentation: pkg.go.dev

# Functions

NewClient instantiates Dapr client using DAPR_GRPC_PORT environment variable as port.
NewClientWithAddress instantiates Dapr using specific address (including port).
NewClientWithAddressContext instantiates Dapr using specific address (including port).
NewClientWithConnection instantiates Dapr client using specific connection.
NewClientWithPort instantiates Dapr using specific gRPC port.
NewClientWithSocket instantiates Dapr using specific socket.
NewConversationRequest defines a request with a component name and one or more inputs as a slice.
PublishEventsWithContentType can be passed as option to PublishEvents to explicitly set the same Content-Type for all events.
PublishEventsWithMetadata can be passed as option to PublishEvents to set request metadata.
PublishEventsWithRawPayload can be passed as option to PublishEvents to set rawPayload request metadata.
PublishEventWithContentType can be passed as option to PublishEvent to set an explicit Content-Type.
PublishEventWithMetadata can be passed as option to PublishEvent to set metadata.
PublishEventWithRawPayload can be passed as option to PublishEvent to set rawPayload metadata.
SetLogger sets the global logger for the Dapr client.
WithConcurrency set StateOptions's Concurrency.
No description provided by the author
WithConsistency set StateOptions's consistency.
WithContextID to provide a new context or continue an existing one.
WithMetadata used to define metadata to be passed to components.
WithParameters should be used to provide parameters for custom fields.
WithScrubPII to define whether the outputs should have PII removed.
WithTemperature to specify which way the LLM leans.

# Constants

No description provided by the author
DeleteType represents the delete type value.
EventualType represents the eventual type value.
FirstWriteType represents the first write type value.
LastWriteType represents the last write type value.
StateConcurrencyFirstWrite represents first write concurrency value.
StateConcurrencyLastWrite represents last write concurrency value.
StateConcurrencyUndefined is the undefined value for state concurrency.
StateConsistencyEventual represents eventual state consistency value.
StateConsistencyStrong represents strong state consistency value.
StateConsistencyUndefined is the undefined value for state consistency.
StateOperationTypeDelete represents delete operation type value.
StateOperationTypeUndefined is the undefined value for state operation type.
StateOperationTypeUpsert represents upsert operation type value.
Maximum size, in bytes, for the buffer used by stream invocations: 2KB.
StrongType represents the strong type value.
UndefinedType represents undefined type value.
UpsertType represents the upsert type value.

# Structs

No description provided by the author
BindingEvent represents the binding event handler input.
BulkStateItem represents a single state item.
No description provided by the author
ConversationInput defines a single input.
ConversationResponse is the basic response from a conversationRequest.
ConversationResult is the individual.
DataContent the service invocation content.
DecryptOptions contains options passed to the Decrypt method.
EncryptOptions contains options passed to the Encrypt method.
ETag represents an versioned record information.
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
GRPCClient is the gRPC implementation of Dapr client.
No description provided by the author
No description provided by the author
InvokeBindingRequest represents binding invocation request.
No description provided by the author
LockRequest is the lock request object.
LockResponse is the lock operation response object.
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
PublishEventsEvent is a type of event that can be published using PublishEvents.
PublishEventsResponse is the response type for PublishEvents.
No description provided by the author
No description provided by the author
No description provided by the author
QueryItem represents a single query result item.
QueryResponse represents a query result.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetStateItem represents a single state to be persisted.
No description provided by the author
No description provided by the author
StateItem represents a single state item.
StateOperation is a collection of StateItems with a store name.
StateOptions represents the state store persistence policy.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnlockRequest is the unlock request object.
UnlockResponse is the unlock operation response object.
No description provided by the author
No description provided by the author

# Interfaces

Client is the interface for Dapr client implementation.

# Type aliases

No description provided by the author
No description provided by the author
DeleteStateItem represents a single state to be deleted.
No description provided by the author
PublishEventOption is the type for the functional option.
PublishEventsOption is the type for the functional option.
No description provided by the author
No description provided by the author
StateOption StateOptions's function type.
No description provided by the author