Refactor signer code into command and package
This commit is contained in:
parent
3a2578ae55
commit
38566f35ef
13 changed files with 476 additions and 276 deletions
|
@ -2,7 +2,10 @@ package processing
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.cacert.org/cacert-gosigner/datastructures"
|
||||
"git.cacert.org/cacert-gosigner/shared"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -11,7 +14,7 @@ func Process(response *datastructures.SignerResponse) (err error) {
|
|||
logrus.Tracef("process response %+v", response)
|
||||
|
||||
switch response.Action {
|
||||
case datastructures.ActionNul:
|
||||
case shared.ActionNul:
|
||||
logrus.Trace("received response for NUL request")
|
||||
return
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue