func (r *CreateDatabaseRequest) Verify() error {
	return r.Header.Verify()
}
Verify checks hash and signature in request header.
package types
import (
	"github.com/SQLess/SQLess/crypto/asymmetric"
	"github.com/SQLess/SQLess/crypto/verifier"
	"github.com/SQLess/SQLess/proto"
)
type CreateDatabaseRequestHeader struct {
	ResourceMeta ResourceMeta
}
type SignedCreateDatabaseRequestHeader struct {
	CreateDatabaseRequestHeader
	verifier.DefaultHashSignVerifierImpl
}
func (sh *SignedCreateDatabaseRequestHeader) Verify() (err error) {
	return sh.DefaultHashSignVerifierImpl.Verify(&sh.CreateDatabaseRequestHeader)
}
func (sh *SignedCreateDatabaseRequestHeader) Sign(signer *asymmetric.PrivateKey) (err error) {
	return sh.DefaultHashSignVerifierImpl.Sign(&sh.CreateDatabaseRequestHeader, signer)
}
type CreateDatabaseRequest struct {
	proto.Envelope
	Header SignedCreateDatabaseRequestHeader
}