Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_SERVICE_DISCOVERY_PROTOCOL_VERSION discovery.ServiceDiscoveryProtocolVersion = discovery.ServiceDiscoveryProtocolVersion_V1
View Source
const MAX_SERVICE_PROTOCOL_VERSION protocol.ServiceProtocolVersion = protocol.ServiceProtocolVersion_V1
View Source
const MIN_SERVICE_DISCOVERY_PROTOCOL_VERSION discovery.ServiceDiscoveryProtocolVersion = discovery.ServiceDiscoveryProtocolVersion_V1
View Source
const MIN_SERVICE_PROTOCOL_VERSION protocol.ServiceProtocolVersion = protocol.ServiceProtocolVersion_V1
Variables ¶
View Source
var X_RESTATE_SERVER = `restate-sdk-go/unknown`
Functions ¶
This section is empty.
Types ¶
type Restate ¶
type Restate struct {
// contains filtered or unexported fields
}
func (*Restate) WithIdentityV1 ¶
func (*Restate) WithLogger ¶
WithLogger overrides the slog handler used by the SDK (which defaults to the slog Default()) You may specify with dropReplayLogs whether to drop logs that originated from handler code while the invocation was replaying. If they are not dropped, you may still determine the replay status in a slog.Handler using rcontext.LogContextFrom(ctx)
Click to show internal directories.
Click to hide internal directories.