You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
239 B
Go

package main
import (
"crypto/rsa"
)
10 years ago
type AuthRequest struct {
Nick string
Key *rsa.PublicKey
}
10 years ago
func (a *AuthRequest) Kind() string {
return "auth"
}
func init() { registerRequestType(func() request { return new(AuthRequest) }) }