move auth out to its own file
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"
|
||||
}
|
Loading…
Reference in New Issue