Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSigner ¶
type MockSigner struct {
VerifyFail bool
}
MockSigner is a valid signer that is mainly used for testing purposes.
func (*MockSigner) Sign ¶
func (ms *MockSigner) Sign(message string) string
Sign simple returns the string passed to it.
Click to show internal directories.
Click to hide internal directories.