You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's common to use one set of keys for all requests, so put the keys
into the receiver. Possible interface:
typeSignerstruct {
KeysService*Service// if nil, DefaultService is usedTimefunc() time.Time// if nil, time.Now is used
}
func (s*Signer) Sign(*http.Request) error
With addition of an underlying http transport, this type could also
satisfy #12.
The text was updated successfully, but these errors were encountered:
It's common to use one set of keys for all requests, so put the keys
into the receiver. Possible interface:
With addition of an underlying http transport, this type could also
satisfy #12.
The text was updated successfully, but these errors were encountered: