cloudflare / cloudflare/roughtime

Have `CreateRequest()` return a `*Request`

Open
#60 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
177
Forks
32
PR merge metrics
No merged PRs in 30d

Description

At the moment this function returns the serialized request and, separately, the nonce used to verify the response. One way to clean up this API is to return a `*Request` that the caller serializes itself before sending to the server.

_Originally posted by @lukevalenta in https://github.com/cloudflare/roughtime/pull/59#discussion_r1708239188_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.