aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-10 16:40:18 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-10 16:40:18 +0100
commitf8176a30d5193f77fd7a76492f8245620035ffb7 (patch)
tree154468a2c91a0ce8ea3ef051f8b7898b580f4a84 /account.go
parent26006592a75df616eed5f9214348c94687991f8d (diff)
Move signer back into place of use
Diffstat (limited to 'account.go')
-rw-r--r--account.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/account.go b/account.go
index c0f76a1..85092de 100644
--- a/account.go
+++ b/account.go
@@ -48,11 +48,6 @@ func LoadAccount(email string) (*Account, error) {
return nil, nil
}
-// Signer describes a signing interface
-type Signer interface {
- Sign([]byte, jose.NonceSource) ([]byte, error)
-}
-
func (a *Account) Sign(msg []byte, n jose.NonceSource) ([]byte, error) {
if a.signer == nil {
var err error