packer-cn/vendor/github.com/joyent/triton-go/authentication/signer.go

8 lines
192 B
Go
Raw Normal View History

2017-04-26 15:12:57 -04:00
package authentication
const authorizationHeaderFormat = `Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"`
type Signer interface {
Sign(dateHeader string) (string, error)
}