Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ signer, err := httpsig.NewSigner(
httpsig.WithComponents("@authority", "@method", "x-my-fancy-header"),
// a tag for your specific application
httpsig.WithTag("myapp"),
// custom parameter
httpsig.WithParameter("first", "value 1"),
// custom parameter
httpsig.WithParameter("second", httpsig.DisplayString("öäü")),
// custom parameter
httpsig.WithParameter("third", httpsig.Date(time.Now())),
httpsig.WithParameter("first", "value 1"),
// custom parameter
httpsig.WithParameter("second", httpsig.DisplayString("öäü")),
// custom parameter
httpsig.WithParameter("third", httpsig.Date(time.Now())),
)
// error handling goes here

Expand Down
Loading