forked from External/ergo
break up types.go
- remove old interfaces, move to relevant files - remove Phase in favor of a boolean flag
This commit is contained in:
parent
0126edc7af
commit
2006aff9f7
6 changed files with 85 additions and 96 deletions
|
|
@ -9,6 +9,13 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
type Command interface {
|
||||
Client() *Client
|
||||
Code() StringCode
|
||||
SetClient(*Client)
|
||||
SetCode(StringCode)
|
||||
}
|
||||
|
||||
type checkPasswordCommand interface {
|
||||
LoadPassword(*Server)
|
||||
CheckPassword()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue