Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Identity ¶
func (*Identity) Authenticate ¶
type Key ¶
type Key [keyLen]byte
Key represents a 256-bit cryptographic key.
func (*Key) DomainKey ¶
DomainKey returns the private key for domain. HMAC-SHA256 using k as the key and domain as the message to generate the 256-bit private key.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AuthHandler ¶
Click to show internal directories.
Click to hide internal directories.