Documentation
¶
Index ¶
- Constants
- func ConstructEvent(rawBody []byte, signature, secret string, tolerance time.Duration) (map[string]any, error)
- func VerifySignature(rawBody []byte, signature, secret string, tolerance time.Duration, ...) bool
- type APIError
- type Client
- func (c *Client) CreateSession(ctx context.Context, params map[string]any, idempotencyKey string) (map[string]any, error)
- func (c *Client) Request(ctx context.Context, method, path string, body any, query url.Values, ...) error
- func (c *Client) RetrieveApplication(ctx context.Context, id string) (map[string]any, error)
- func (c *Client) RetrieveSession(ctx context.Context, id string) (map[string]any, error)
- func (c *Client) SessionDecision(ctx context.Context, id string) (map[string]any, error)
Constants ¶
View Source
const Version = "0.1.0"
Variables ¶
This section is empty.
Functions ¶
func ConstructEvent ¶
Types ¶
type Client ¶
func (*Client) CreateSession ¶
func (*Client) RetrieveApplication ¶
func (*Client) RetrieveSession ¶
Click to show internal directories.
Click to hide internal directories.