Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion hawk.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func NewRequestAuth(req *http.Request, creds *Credentials, tsOffset time.Duratio
return auth
}

// NewRequestAuth builds a client Auth based on uri and creds. tsOffset will be
// NewURLAuth builds a client Auth based on uri and creds. tsOffset will be
// applied to Now when setting the timestamp.
func NewURLAuth(uri string, creds *Credentials, tsOffset time.Duration) (*Auth, error) {
u, err := url.Parse(uri)
Expand Down