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"
)
type AuthRequest struct {
Nick string
Key *rsa.PublicKey
}
func (a *AuthRequest) Kind() string {
return "auth"
}
func init() { registerRequestType(func() request { return new(AuthRequest) }) }