Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { Email string Registration *registration.Resource // contains filtered or unexported fields }
User represents a users local saved credentials. Implements registration.User interface
func (*User) GetPrivateKey ¶
func (u *User) GetPrivateKey() crypto.PrivateKey
GetPrivateKey returns the private account key.
func (User) GetRegistration ¶
func (u User) GetRegistration() *registration.Resource
GetRegistration returns the server registration.
Click to show internal directories.
Click to hide internal directories.