move auth out to its own file

master
Jordan Orelli 10 years ago
parent 728b9fa9fc
commit 4a66c02567

@ -0,0 +1,14 @@
package main
import (
"crypto/rsa"
)
type Auth struct {
Nick string
Key *rsa.PublicKey
}
func (a *Auth) Kind() string {
return "auth"
}

@ -18,15 +18,6 @@ import (
"unicode"
)
type Auth struct {
Nick string
Key *rsa.PublicKey
}
func (a *Auth) Kind() string {
return "auth"
}
type ReadWriter struct {
io.Reader
io.Writer

Loading…
Cancel
Save