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

8 lines
192 B
Go

package authentication
const authorizationHeaderFormat = `Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"`
type Signer interface {
Sign(dateHeader string) (string, error)
}