Documentation
¶
Overview ¶
Package grantclient provides provider-neutral temporary-grant HTTP mechanics.
Index ¶
- type Client
- func (c *Client[T]) Cancel(ctx context.Context, id string) (T, error)
- func (c *Client[T]) Get(ctx context.Context, id string) (T, error)
- func (c *Client[T]) Request(ctx context.Context, input any) (T, error)
- func (c *Client[T]) Revoke(ctx context.Context, id string) (T, error)
- func (c *Client[T]) Wait(ctx context.Context, id string) (T, error)
- type Decoder
- type Error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client[T any] struct { // contains filtered or unexported fields }
Client owns request, lookup, wait, cancel, and revoke transport mechanics.
Click to show internal directories.
Click to hide internal directories.