Documentation
¶
Index ¶
- type Client
- func (c *Client) Attach(ctx context.Context, params IngressAttachParams, output any, ...) error
- func (c *Client) Output(ctx context.Context, params IngressAttachParams, output any, ...) error
- func (c *Client) Request(ctx context.Context, params IngressParams, input, output any, ...) error
- func (c *Client) Send(ctx context.Context, params IngressParams, input any, ...) (Invocation, error)
- type GenericError
- type IngressAttachParams
- type IngressParams
- type Invocation
- type InvocationNotFoundError
- type InvocationNotReadyError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an ingress client used to initiate Restate invocations outside a Restate context.
func (*Client) Attach ¶
func (c *Client) Attach(ctx context.Context, params IngressAttachParams, output any, attachOpts options.IngressInvocationHandleOptions) error
func (*Client) Output ¶
func (c *Client) Output(ctx context.Context, params IngressAttachParams, output any, outputOpts options.IngressInvocationHandleOptions) error
func (*Client) Request ¶
func (c *Client) Request(ctx context.Context, params IngressParams, input, output any, reqOpts options.IngressRequestOptions) error
func (*Client) Send ¶
func (c *Client) Send(ctx context.Context, params IngressParams, input any, sendOpts options.IngressSendOptions) (Invocation, error)
type GenericError ¶
type GenericError struct {
// contains filtered or unexported fields
}
type IngressAttachParams ¶
type IngressParams ¶
type Invocation ¶
type InvocationNotFoundError ¶
type InvocationNotFoundError struct {
// contains filtered or unexported fields
}
type InvocationNotReadyError ¶
type InvocationNotReadyError struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.